Tony Placilla wrote:
On Tue, Jul 15, 2008 at 3:57 PM, in message 487D013D.9070202@hogranch.com,
John R Pierce pierce@hogranch.com wrote:
Chris Geldenhuis wrote:
Hi All,
I have been Googling my head off but cannot find a method to stream edit all the images in a directory and to resize them. I have a large number of images of up to 3GB in size that I want to put in albums on a website, but before I do this I need to resize them to a more realistic configuration.
I know how to do this manually with the GIMP but it becomes tedious for more than a few images.
imagemagick can do this, its a command line batch image editor. its a little tricky to figure out. I note its in the base Centos5 repository.
for example:
mogrify -size 480x320 *.jpg
will convert all the jpgs to 480x320
mogrify -size 480x320> *.jpg
will resize everything bigger than 480x320 down & leave the smaller stuff alone.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Once again thanks to all who responded - ImageMagick is just that magic.
ChrisG