gagvirus/image-collection

A simple way of generating image collections

dev-master 2018-10-13 18:43 UTC

README

A simple class for generating image collections.

Installation

Require this package with composer.

composer require gagvirus/image-collection

Basic Usage

use GagVirus\ImageCollection;

$collection = new ImageCollection(ImageCollection::ORDER_HORIZONTAL, 200, 200);
$collection->addImage(['/path/to/image-1.jpg', '/path/to/image-2.jpg']);
$collection->make('/path/to/save/image-generated.jpg');