A command will only work on newest version of imagemagick.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Liquix

A command will only work on newest version of imagemagick.

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply