yes I also found a more direct way,

use Image::Resize;
$image = Image::Resize->new('large.jpg');
$gd = $image->resize(250, 250);

thanks for everyone.

On 2018/7/25 星期三 PM 1:51, Илья Рассадин wrote:
You can resize image with Perl. For example, Imager library can do the thing. See https://metacpan.org/pod/distribution/Imager/lib/Imager/Transformations.pod#scale()

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to