Skip Menu |

This queue is for tickets about the Image-Scale CPAN distribution.

Report information
The Basics
Id: 127489
Status: open
Priority: 0/
Queue: Image-Scale

People
Owner: Nobody in particular
Requestors: shreyasls [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
For JPEG support you will need not only libjpeg already installed but also the headers, eg jpeglib.h If either the libraries or the headers are in a non-standard location you can specify these when running Makefile.PL run perl Makefile.PL -h to see all the options.