[NCLUG] Image Crop Tool?
Bob Proulx
bob at proulx.com
Wed Apr 7 15:19:10 MDT 2010
grant at amadensor.com wrote:
> I would think that if you knew your regex's very well at all, you would
> only need sed, grep, and awk. ;)
But those aren't the right tools for the job! If you were calculating
the dimensions dynamically then you would use those for that part of
the task. But not for image cropping.
ImageMagick is the right tool for the job. It is what I have always
used before!
http://www.imagemagick.org/Usage/crop/#crop_page
The command would be more like:
convert -crop 140x300+10+10 someimage-in.jpg someimage-out.jpg
:-)
Bob
More information about the NCLUG
mailing list