Page 1 of 1

Append multiple images on canvas

Posted: 2013-10-22T12:15:57-07:00
by Rye
So this is some theory here.

I want to lay out some pictures I have (lets say for this example: 10 pictures that are in size of 640x1136) on a canvas.

I want them to be put side by side if I would define the canvas 6400x1136 and for example if I went ahead and used 640x1136 as canvas size it should simply
paste the pictures under each other.

Thanks in advance for suggestions.

(Bonus kudos for whomever can integrade a for (*.filetype) inside the command as this would make the command easier.

Re: Append multiple images on canvas

Posted: 2013-10-22T12:29:28-07:00
by snibgo
"+append" will put images side by side. "-composite" will stack them on top of each other.

See:
http://www.imagemagick.org/script/comma ... php#append
http://www.imagemagick.org/script/comma ... #composite
etc.

Re: Append multiple images on canvas

Posted: 2013-10-22T12:42:02-07:00
by fmw42
convert *.jpg -append result

or

convert *.jpg +append result

Depending upon whether arranged vertically or horizontally

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

Re: Append multiple images on canvas

Posted: 2013-10-22T12:51:26-07:00
by Rye
is it possible to define a canvas for stacking ?

so it will stop and continue stacking like this:
HHHHHH
HHH

Re: Append multiple images on canvas

Posted: 2013-10-22T13:03:33-07:00
by fmw42
see montage
http://www.imagemagick.org/Usage/montage/

but you need to tell it how many tiles in a row (or column)

Code: Select all

montage *.jpg -tile 6x -geometry +0+0 result