stack multiple -composite together

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
luckyluca
Posts: 12
Joined: 2011-10-04T13:25:21-07:00
Authentication code: 8675308

stack multiple -composite together

Post by luckyluca »

please ignore, found a solution
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: stack multiple -composite together

Post by Bonzo »

To late :)

Try:

Code: Select all

convert $in dark.tga -composite mask_green.tga -composite mysource.tga -composite mask_roads.tga -composite dark.tga -composite mask_dark.tga -composite $out
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: stack multiple -composite together

Post by anthony »

Bonzo wrote:To late :)

Try:

Code: Select all

convert $in dark.tga -composite mask_green.tga -composite mysource.tga -composite mask_roads.tga -composite dark.tga -composite mask_dark.tga -composite $out
Or

Code: Select all

convert $in dark.tga mask_green.tga mysource.tga mask_roads.tga dark.tga mask_dark.tga -flatten $out
Though why you have multiple "dark.tga" files is beyond me, as the original request has gone.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply