Search found 2 matches

by gregorissimo
2015-12-12T07:55:42-07:00
Forum: Consulting
Topic: SOLVED: Commands for Batch Cropping
Replies: 1
Views: 26566

Re: SOLVED: Commands for Batch Cropping

I figured out how to do this by using a combination of the following: * One-sided trims: http://www.imagemagick.org/Usage/crop/#trim_oneside * Width and height identification: http://blog.viktorkelemen.com/2011/06/image-widthheight-with-imagemagick-in.html * Chopping: http://www.imagemagick.org ...
by gregorissimo
2015-11-25T09:17:16-07:00
Forum: Consulting
Topic: SOLVED: Commands for Batch Cropping
Replies: 1
Views: 26566

SOLVED: Commands for Batch Cropping

Hello! I have thousands of PNG files where most of the image is transparent (defined by an alpha layer) and an object is somewhere within the image. To crop these PNG files, I’m looking for a series of three commands that crops each side of the image according to certain rules (detailed below) and w ...