[OpenJDK 2D-Dev] RFR: 8145019: Exceptions from TIFFImageReader.read() when loading bit depth test images

Philip Race philip.race at oracle.com
Fri Jan 20 21:00:50 UTC 2017

What's with the empty loop ?

2851                         for (int band = 0; band < numBands; band++) {
2853                         }


On 12/28/16, 2:17 PM, Brian Burkhalter wrote:
> The problems were that in some cases an incorrect ImageTypeSpecifier was being created for the layout of the image, that odd bit-depth data, e.g., 6 bits per sample, were not being expanded into, e.g., 8-bit components, and that the data expansion for planar (banded) images was using sizes appropriate to all bands as opposed to single bands. With this change, all the “flower” images in the “depth” subdirectory of the “libtiffpic” test image set are able to be displayed without exceptions.

More information about the 2d-dev mailing list