Combining multiple images using -distort

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

Re: Combining multiple images using -distort

Post by anthony »

NOTE you are using -extent when you have no image in memory! That does not make sense and will produce an error in IMv7

Instead of -extent why not replace -flatten with -layers merge.
and use +distort instead to generate layer images. This will preserve all virtual offsets in the final image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply