[OpenJDK 2D-Dev] [9] RFC JDK-8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way

Brian Burkhalter brian.burkhalter at oracle.com
Fri Aug 12 18:27:34 UTC 2016


Correction (bee below).

On Aug 12, 2016, at 11:23 AM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> Please comment at your convenience.
> 
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8154058
> Solution:	Resolve as “Not an Issue”
> 
> According to [1],
> 
> The ignoreMetadata parameter, if set to true, allows the reader to disregard any metadata encountered during the read.  Subsequent calls to the getStreamMetadata and getImageMetadata methods may return null, and an IIOImage returned from readAll may return null from their getMetadata method. Setting this parameter may allow the reader to work more efficiently. The reader may choose to disregard this setting and return metadata normally. 
> 
> According to [2], setting ignoreMetadata has the effect of asking the reader to ignore any TIFF Fields which are not contained in any of the TIFFTagSets known to the reader. This seems to be within the scope of the specification in [1].
> 
> As a result of the foregoing I suggest that the issue be resolved as “Will not Fix.”

“Will not Fix” in the previous sentence should have been “Not an Issue."

> Thanks,
> 
> Brian
> 
> [1] http://download.java.net/java/jdk9/docs/api/javax/imageio/ImageReader.html#setInput-java.lang.Object-boolean-boolean-
> [2] http://hg.openjdk.java.net/jdk9/client/jdk/file/d5dc0c4fb473/src/java.desktop/share/classes/javax/imageio/metadata/doc-files/tiff_metadata.html, lines 219-234

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160812/af357df3/attachment.html>


More information about the 2d-dev mailing list