Page 1 of 1

Montage images not respect the position

Posted: 2012-10-12T01:39:38-07:00
by seiko
I have this montage
1 2 3
4 5 6
7 8 9
And i want if 8 image not exist to be replaced by a white space. Right now 9 is moved in that place and 9's position is white.
How to do that?
My command is: montage -quality 100 -tile 3x3 -geometry 457x284-0-0 + list of images paths.

I tried with -immutable option but i dont know how to use it. montage -quality 100 -tile 3x3 -geometry 457x284-0-0 -immutable + list of images paths.

Thanks!

Re: Montage images not respect the position

Posted: 2012-10-12T09:39:52-07:00
by fmw42
Test if an image exists via unix commands and if it does not then replace the image with null: in your list of images

Re: Montage images not respect the position

Posted: 2012-10-17T21:38:52-07:00
by anthony
See Montage in IM Examples
Leaving Gaps in a Montage
http://www.imagemagick.org/Usage/montage/#null