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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to