creating layers of tinted images

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

Re: creating layers of tinted images

Post by anthony »

All operators in IM generally effect ALL images in memory.
See IM Examples Basic Usage...
http://www.imagemagick.org/Usage/basics/#image_seq

However parenthesis allow you to keep images in a separate 'sequence' for separate processing (continue the above like.

the solution is thus...

Code: Select all

    convert image1.png -fill '#ff0000' -tint 100 \
               \( image2.png -fill '#00ff00' -tint 100 \) \
               -mosaic   output.png
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply