Page 1 of 1

How can I paste pictures from command line?

Posted: 2008-03-16T00:26:41-07:00
by bensto
Assume I have a couple of independent pictures (.e.g.*.jpg or *.png).
I want to paste them (one below the other) into one target picture.

How can I do this with IM?

Ben

Re: How can I paste pictures from command line?

Posted: 2008-03-16T02:04:14-07:00
by Bonzo

Code: Select all

convert -background none -gravity Center image1.jpg image2.png -append vertical.png

Re: How can I paste pictures from command line?

Posted: 2008-03-21T07:10:29-07:00
by bensto
Bonzo wrote:

Code: Select all

convert -background none -gravity Center image1.jpg image2.png -append vertical.png
Ok. Thank you.

But hwo would the command look like if I want to append/paste the pictures from left to right and not one below the other?

Ben

Re: How can I paste pictures from command line?

Posted: 2008-03-21T12:09:38-07:00
by fmw42
use +append instead of -append

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