[CentOS] SERIOUSLY OT STREAM EDITING IMAGES
Max Hetrick
maxhetrick at verizon.net
Tue Jul 15 20:05:21 UTC 2008
Chris Geldenhuis wrote:
> 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.
Install ImageMagick and use convert. Something like this will get you
started.
# cd /path/to/pics; mkdir resized
# for i in *.jpg; do convert -resize 50% $i resized/$i; done
Regards,
Max
More information about the CentOS
mailing list