Skip to content

dmamills/composite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Composite

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

About

php wrapper for imagemagick composite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages