You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Paul Dumais <pa...@unstate.ca> on 2013/12/14 04:43:32 UTC

16-bit pgm images

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