Page 1 of 1

Canvas size using "Montage"

Posted: 2019-09-30T12:59:26-07:00
by Mavijo
Hello!

I need to arrange 100 images on one sheet on a 10x10 grid with overlapping them. For this, I used the following command:

Code: Select all

magick.exe montage * .png -background none -tile 10x10 -geometry -5-5 montage_overlap.png
It turned out fine, with the exception of images cropped from the edges of the sheet due to the -geometry -5-5 command.
Image
I don’t understand how to save the image on the sides of the sheet, although I tried a bunch of options. I searched on the forum, but could not find an answer. Please help me.

Thank you!

Re: Canvas size using "Montage"

Posted: 2019-09-30T14:58:51-07:00
by fmw42
Is the image you show an input or output?

Re: Canvas size using "Montage"

Posted: 2019-09-30T19:20:01-07:00
by Mavijo
Its an output.
Input - one egg.
Image
Maybe i should use other function to overlay instead of -montage ?
Note, that all 100 images are different, i used one egg just for example.

Re: Canvas size using "Montage"

Posted: 2019-09-30T23:04:39-07:00
by fmw42
try +smush with a negative value for each row, then use -smush with a negative value to combine all the rows.