dmamills/composite

wrapper for imagemagick composite command

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/dmamills/composite

dev-master 2014-05-05 00:41 UTC

This package is not auto-updated.

Last update: 2025-12-30 13:12:27 UTC


README

A composer package that wraps the Composite command. Composite is part of the image editing software ImageMagick.

Usage


use Composite\Composite;

$composite = new Composite('base.png','overlay.png','result.png');
$composite->execute();

$resultFile = $composite.getResultFile();
$resultFile = $composite.getResultFile(true); //calls execute() before retrieving file

It also can take a fourth parameter to set command options

$composite = new Composite('base.png','overlay.png','result.png',array(
	'gravity'=>'southeast',
	'size'=>'512x512'
));

License

MIT