Page 1 of 1

The Composite command does not work.

Posted: 2014-01-15T11:02:23-07:00
by Darknet
I like to process the comoposite Command in PHP with shell_exec: But these dont work

/usr/bin/convert end1.jpg -composite pen.png -gravity center.

What's wrong?

Re: The Composite command does not work.

Posted: 2014-01-15T11:54:50-07:00
by glennrp
You didn't specify a destination image.

Re: The Composite command does not work.

Posted: 2014-01-15T16:29:00-07:00
by fmw42
Correct syntax should be

convert backgroundimage overlayimage -gravity center -composite resultimage

see
http://www.imagemagick.org/Usage/compose/#compose