commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Dumais <p...@unstate.ca>
Subject 16-bit pgm images
Date Sat, 14 Dec 2013 03:43:32 GMT
There seems to be a bug in the documentation at:
http://commons.apache.org/proper/commons-imaging/apidocs/index.html
for the pgm format support. It claims full read support for pgm files.
However:

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.

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message