Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get jpeg support in Imager?
by bart (Canon) on Jul 03, 2005 at 09:18 UTC | |
|
Re: How to get jpeg support in Imager?
by matthewb (Curate) on Jul 03, 2005 at 11:11 UTC | |
|
Re: How to get jpeg support in Imager?
by davidrw (Prior) on Jul 03, 2005 at 12:31 UTC |