commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Dumais <>
Subject 16-bit pgm images
Date Sat, 14 Dec 2013 03:43:32 GMT
There seems to be a bug in the documentation at:
for the pgm format support. It claims full read support for pgm files.

Reading of 16-bit pgm images does not appear to be supported. When I
display the buffered image read via the Imaging class, I see a very
fuzzy image which I imagine is what you would see if you tried to read
in a 16 bit pgm via a loader that expects 8 bits (you get overflow on
the unsigned 8 bit ints.

I think documentation should explicitly note which bit depths are supported.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message