Skip Menu |

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

Report information
The Basics
Id: 17259
Status: open
Priority: 0/
Queue: Image-PBMlib

People
Owner: Nobody in particular
Requestors: cpan.org [...] weinerk.mailshell.com
Cc:
AdminCc:

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



Subject: Image::PBMlib on win32 has a problem with 2byte raw format
Image::PBMlib on win32 has a problem with 2byte raw format. In short - for some reason on win32 pnm format is not 1byte/pix, but rather 2bytes/pix - which messes up the image reading. A quick workaround is to read in the seocnd byte and just dump it.
On Tue Jan 24 17:28:21 2006, guest wrote: Show quoted text
> Image::PBMlib on win32 has a problem with 2byte raw format. > > In short - for some reason on win32 pnm format is not 1byte/pix, > but rather 2bytes/pix - which messes up the image reading. > A quick workaround is to read in the seocnd byte and just dump it.
To clarify - when $$ref{max} is 65535 (two bytes), then you need to read two bytes at a time.