Page 1 of 1

joining images in command line mode

Posted: 2008-01-09T10:50:58-07:00
by zomp
I need to join images in command line mode. That is, to obtain a single destination file from several source files.
I am not interested in animation. I need only to stack horizontally or vertically several files into a single png file.
I have made some trials but it seems to me that it is not possible with png files since they do not support animation frames.
However, as I have already said, I am not finding animation, but only a "stacking" method.
Is it possible?

Thanks for your wonderful program.

Re: joining images in command line mode

Posted: 2008-01-09T13:36:34-07:00
by zomp
zomp wrote:I need to join images in command line mode. That is, to obtain a single destination file from several source files.
I am not interested in animation. I need only to stack horizontally or vertically several files into a single png file.
I have made some trials but it seems to me that it is not possible with png files since they do not support animation frames.
However, as I have already said, I am not finding animation, but only a "stacking" method.
Is it possible?

Thanks for your wonderful program.
I answer (partially) to myself. I have to use montage in place of convert, as I made before. After some experiments, I recognized that the right options to use are -geometry and -tile.

Just another question about a point that I have not solved yet: how can I mantain the trasparency in the source images? Without any options apart the two above mentioned ones, montage transforms trasparency into white background...

Re: joining images in command line mode

Posted: 2008-01-09T14:02:59-07:00
by zomp
zomp wrote: Just another question about a point that I have not solved yet: how can I mantain the trasparency in the source images? Without any options apart the two above mentioned ones, montage transforms trasparency into white background...
Definitely solved. Used option -background None.

Re: joining images in command line mode

Posted: 2008-01-09T14:34:46-07:00
by Bonzo
Also look at -append

Re: joining images in command line mode

Posted: 2008-01-09T19:28:07-07:00
by anthony
And a number of methods of using -append
http://imagemagick.org/Usage/layers/#append