Hello,
I am trying to create a large contact sheet from 3000+ images. For this, I use
montage -border 1 -bordercolor white -background black -geometry +0+0 @imglist.txt contact.png
Now I need to crop a fixed amount of pixels from each image before adding it to the contact sheet.
I found the -shave option which would do exactly that, but unfortunately montage seems not to support it.
I tried using the -crop 200x200 option, but that would produce a very weird contact sheet with the cropped image first, followed by the part that was cropped, so essentially distributing a single original image over several contact sheet thumbnails...
Any suggestions how to achieve a 'crop then montage' without creating cropped copies of all images?
Thanks!
PS: This is running ImageMagick 6.9.1-3 Q16 x86_64 under cygwin_x64 on Win7
Montage after copping?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Montage after copping?
You will need to use mogrify on the folder holding the images to do the shave, saving to another existing empty folder. Then do your montage. See http://www.imagemagick.org/Usage/basics/#mogrify
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Montage after copping?
You need "-crop 200x200+0+0".mab wrote:I tried using the -crop 200x200 option, but that would produce a very weird contact sheet with the cropped image first, followed by the part that was cropped
snibgo's IM pages: im.snibgo.com