[OpenJDK 2D-Dev] RFR: 8154228: [TIFF] IIOException: "Insufficient data offsets or byte counts" when loading test image

Philip Race philip.race at oracle.com
Fri Jan 20 21:13:58 UTC 2017


  612             } else {
  613
  614             }

?

-phil

On 12/29/16, 2:25 PM, Brian Burkhalter wrote:
> Please review at your convenience.
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8154228
> Patch:	http://cr.openjdk.java.net/~bpb/8154228/webrev.00/
>
> The problem is that the test image XING_T24.TIF is missing the StripByteCounts field which is required by the TIFF specification. The solution for the case where the image data are uncompressed and the offsets to the data packets (strips or tiles) are known, is to compute the number of bytes in each packet provided the information needed to do so is present in the image.
>
> Thanks,
>
> Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20170120/9959c596/attachment.html>


More information about the 2d-dev mailing list