Page 1 of 1

A command will only work on newest version of imagemagick.

Posted: 2007-11-11T06:00:00-07:00
by Liquix
I got this command:

Code: Select all

composite -compose atop -geometry 200x200+10-10 "tmp/img1.tmp" -matte -background none -rotate 67 "tmp/img2.tmp" "tmp/img3.tmp"
It rotates an image and copies it over another image. Anyone got a command that will do the trick, even with older versions of imagemagick?
(I'm running the command with exec through PHP)

EDIT:
In older versions img1.tmp won't be copied over img2.tmp.

EDIT2:
It works on 6.3.5 and not on 6.2.2

Re: A command will only work on newest version of imagemagick.

Posted: 2007-11-19T18:19:39-07:00
by anthony
You are perfoming multiple operations on an image. 'composite' is not really the best tool for that.

Use "convert" with a -composite option at the point you want to compose the two images together.

I also suggest you follow the link in my signature and read IM Examples starting with basics.