Page 1 of 1

batch compose

Posted: 2010-12-16T03:33:52-07:00
by ratneshsoni
i want to composite image in batch. Like i am designing the tshirt and when i complete the designing want to make a single image on tshirt. In this case i have more than 1 image it is not fixed. currently i am waiting for this

Re: batch compose

Posted: 2010-12-16T10:47:45-07:00
by fmw42
composite and convert ... -compose ... -composite only work with two images at a time. If you have multiple pairs of image that you need to composite into separate resulting images, then you will likely need to write a script to loop over the pairs of images and composite them.

If you are trying to composite many images into one final image, then you can do that with

convert -background somecolor image1 image2 image2 image2 -flatten resultimage


see http://www.imagemagick.org/Usage/layers/