http://qs321.pair.com?node_id=471991

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to use imager, but I get the error that jpegs are not supported.
ModPerl::Registry: format 'jpeg' not supported at /usr/lib/perl5/5.8.0/CGI/Carp.pm

I have been looking but can not find how to install this. I am new to linux so a little lost.

Any Help?

Oh and this is the code.
my $img = Imager->new(); $img->read(file=>"$config{'basepath'}pictures/$filename") or die $img- +>errstr(); $img = $img->scale(xpixels=>$config{'imgmax'},ypixels=>$config{'imgmax +'},type=>'min'); $img->write(file=>"$config{'basepath'}thumbs/$filename", jpegquality=> +25) or die $img->errstr;

janitored by ybiC: Balanced <code> tags around code snippet, as per Monastery convention, and also balanced <tt> tags around error message