Post Reply 

Auto-crop many images all at once?

Feb 21, 2011, 05:53 (This post was last modified: Feb 21, 2011 05:54 by FrozenDelight.)
Post: #1
Auto-crop many images all at once?
Hi there,

If anyone could help, that would be great. I have a problem, been trying to solve it for many days. I would like to 'batch process' many images. I have loads of PNGs with tranparent backgrounds, I love the auto-crop feature, I'd like to automatically do this to hundreds of images. Basically these images have a small picture in the middle, with lots of blank space around them, I'd like to get rid of this space. It would take really long to autocrop each one manually.

Thanks.
Find all posts by this user
Quote this message in a reply
Feb 21, 2011, 07:37 (This post was last modified: Feb 21, 2011 08:16 by FrozenDelight.)
Post: #2
RE: Auto-crop many images all at once?
(Feb 21, 2011 07:26)ofnuts Wrote:  Instead of using Gimp, you should use the ImageMagick toolbox (also free software, like Gimp) and the "-trim" operator of the "convert" command.
Thanks, I will go check it out. BTW the images are all different, so they would not be all the same. Hopefully this ImageMagick can do that.

EDIT; Oh, it's command line Sad The option to trim edges is in the main app (GUI), but it only does one image at a time. In fact, it doesn't even let me open more than one image at a time. So I'm guessing there must be some kind of batch editing command line. Also, the trim option doesn't exactly trim all the way down to the picture, it leaves about 1 pixels of space, essentually a frame.
Find all posts by this user
Quote this message in a reply
Feb 23, 2011, 10:51
Post: #3
RE: Auto-crop many images all at once?
Wow, is there really know way to batch process in Gimp?!
Find all posts by this user
Quote this message in a reply
Feb 23, 2011, 23:01 (This post was last modified: Feb 23, 2011 23:04 by FrozenDelight.)
Post: #4
RE: Auto-crop many images all at once?
There's definitely no non-background pixels in these images, they don't have anti-aliasing. In Gimp, it auto-crops them right to the image, no space at all. OK, I will try the command stuff, but I still can't see a way in ImageMagick to do more than one image at a time. I would use the record and batch process in Paint Shop Pro, if I could find a damn auto-crop feature. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Straighten, Square and Crop Photo's of Old Photos amyearsley 1 134 Apr 16, 2018 08:00
Last Post: paynekj
  Resizing Images Swilson 1 128 Apr 14, 2018 05:47
Last Post: ythgilb
  Separation of 2 images Psychozike 1 132 Mar 31, 2018 18:51
Last Post: paynekj
  How to crop a hex tile and increase resolution? dskogg 1 149 Feb 14, 2018 21:37
Last Post: paynekj
  How can I combine many images into one image? kenny1999 1 282 Jan 15, 2018 07:00
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS