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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to