Bonzo wrote:Depending how the server is setup Fred you do not always need the user/local/bin/
Just curious, but what do you need to do to make that happen on a server. On my home Mac, all I need to do is add
export PATH="${PATH}:/Users/fred/Applications/ImageMagick-Scripts/bin"
to my .profile. But I do not know enough about servers and Unix or Windows to know in general what is needed. But I would be interested to know.
Fred
P.S. try adding -compose over just before -composite to be sure it is set properly.
Also I am having trouble with png transparency in IM 6.5.2-4 and getting no transparency effects. see
viewtopic.php?f=3&t=13770
Try a simpler composite without the resize and rotate and see if that works.
convert \( -size 100x100 xc:black \) \( -size 50x50 xc:white \) -gravity center -compose over -composite output.jpg
so I suppose in PHP that would be:
exec("convert ( -size 100x100 xc:black ) ( -size 50x50 xc:white ) -gravity center -compose over -composite output.jpg");
Don't know if you need to escape or separately quote the parens in PHP.
I presume you are working on a reasonably modern version of IM. Also have you verified your input images and permission of the images and directory?