Date: | Wed, 25 Aug 2004 11:55:24 +1000 |
From: | tonyc [...] cpan.org |
To: | bug-imager [...] rt.cpan.org |
Subject: | the pnm reader ignores the maxval that it reads from the pnm file |
if you run the following against the attached file:
perl -MImager -e '$im = Imager->new->read(file=>shift);
$im->write(file=>shift)' endgame3-small.ppm endgame3-small-out.ppm
the output image is much darker than the input image.
This happens because the ppm reader ignores the maxval field from the
PPM file.
The image was produced with the pnmquant utility.
Message body is not shown because sender requested not to inline it.