调整目录中的图像大小 [英] Resize images in directory

查看:122
本文介绍了调整目录中的图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个充满图像的目录,我想将其调整为原始大小的60%左右。

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

我该如何做到这一点?可以是Python或Perl

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

干杯

Eef

推荐答案

如何使用mogrify, ImageMagick 的一部分?如果你真的需要从Perl控制它,那么你可以使用 Image :: Magick Image :: Resize Imager

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.

这篇关于调整目录中的图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆