Subject: | Image::Scale was not built with JPEG support |
Date: | Sun, 28 Oct 2018 01:57:47 +0000 (UTC) |
To: | "bug-Image-Scale [...] rt.cpan.org" <bug-Image-Scale [...] rt.cpan.org> |
From: | Shreyas L S <shreyasls [...] yahoo.com> |
Hi,
I installed Image::Scale using the normal cpanm command line, and here's the version installed.
$ sudo cpanm Image::ScaleImage::Scale is up to date. (0.14)
However, when I execute a simple code, I get the below error
$ cat image_resize.pl use Image::Scale; my $img = Image::Scale->new('20181021_140638.jpg') || die "Invalid JPEG file";
$img->resize_gd( { width => 392 } );$img->save_jpeg('resized.jpg');
$ time perl image_resize.pl Image::Scale was not built with JPEG support
Can you kindly help?
Regards