Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 7465
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

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

Attachments


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.
Download endgame3-small.ppm
image/x-portable-pixmap 107.2k

Message body is not shown because sender requested not to inline it.