Is mogrify -crop creating a bunch of extra files for you?Mar 26th, 2011 | By admin | Category: Linux / Freebsd, Technology
So here you are minding your own businesses, trying to crop some images when mogrify decides to be a wise-guy and spit out a bunch of extra files. You’re running a command like mogrify -crop 40×40 image.jpg and instead of the end result being a 40×40 image.jpg you have image-0.jpg and image-1.jpg with -0 being 40×40 and the rest of them being the scraps that were left over. Gah!
Well not to fret, everything’ll be shiny in a second. Instead of going mogrify -crop 40×40 you just need to add +0+0 on the end of that so in the end your command looks like:
mogrify -crop 40×40+0+0 image.jpg
Viola, no more mess. Enjoy