howto add multiple images to each other

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

Post by anthony » 2006-07-16T18:00:59-07:00

You can do muitiple image composition by using -flatten and -mosaic

Code: Select all

  convert 1.jpg 2.jpg 3.jpg 4.jpg \
         -compose plus -background black -flatten  out.jpg
For more info see...
Mosaics of multiple images, Compose Methods and Mosaics
http://www.cit.gu.edu.au/~anthony/graph ... s/#compose

WARNING: the IM examples is at this moment shown a major bug in GIF
transparency handling, example image results for GIF may be incorrect.
This should be fixed by the end of the day.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply