Please review at your convenience. Issue: https://bugs.openjdk.java.net/browse/JDK-8145019 Patch: http://cr.openjdk.java.net/~bpb/8145019/webrev.00/
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. Thanks, Brian
