Page 1 of 1

Combine composite

Posted: 2016-06-21T03:27:12-07:00
by carlosaviles
Hi,

is there a way to combine these commands

convert background.png image_A -geometry +665+215 -composite background.png
convert background.png image_B -geometry +5+67 -composite background.png
convert background.png image_C -geometry +7+15 -composite background.png
convert background.png image_D -geometry +55+101 -composite background.png

into one single convert? I can't seem to find the proper way to layout the parameters when trying.

Best,
Carlos.

Re: Combine composite

Posted: 2016-06-21T03:34:07-07:00
by snibgo
Always please say what version of IM you are using, on what platform.

The output of each is the first input to the next, and you are not using settings that need re-setting, so this should work:

convert background.png image_A -geometry +665+215 -composite image_B -geometry +5+67 -composite image_C -geometry +7+15 -composite image_D -geometry +55+101 -composite background.png

Re: Combine composite

Posted: 2016-06-21T04:15:03-07:00
by carlosaviles
Great, thanks! That did the job. Sorry for not posting the version. Here it is:

Version: ImageMagick 6.9.3-6 Q16 x86_64 2016-02-28