[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Mass image cropping
- Subject: [ale] Mass image cropping
- From: brian at polibyte.com (Brian Pitts)
- Date: Tue, 11 Mar 2008 15:52:55 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
Jim Popovitch wrote:
> Anyone know of a good (command line ;-) ) way to crop 100 pictures to
> the same size?
>
> Something like this would be too cool:
>
> gimp -nogui -autocrop -offset 28x30 -newsize 100x100
> -preserve-file-names *.png
As suggested by others, ImageMagick (or GraphicsMagick) is just the
thing for for performing a single operation, like cropping, on multiple
files. If you need to perform multiple operations on a single file (e.g.
splitting into tiles), it can be much faster to use a library that lets
you read the file only once than repeatedly invoke ImageMagick.
-Brian