Resize images in directory

前端 未结 6 2104
半阙折子戏
半阙折子戏 2021-02-03 14:41

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

6条回答
  •  面向向阳花
    2021-02-03 15:07

    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.

提交回复
热议问题