Search code examples
pythonperlimageresizeimage-scaling

Resize images in directory


I have a directory full of images that I would like to resize to around 60% of their original size.

How would I go about doing this? Can be in either Python or Perl

Cheers

Eef


Solution

  • How about using mogrify, part of ImageMagick? If you really need to control this from Perl, then you could use Image::Magick, Image::Resize or Imager.