Jayathirth D V
888fc3458a
8152561: Is it allowed to have zero value for count in TIFFField.createArrayForType() for the rationals
...
Reviewed-by: psadhukhan, bpb, prr
2017-01-27 12:16:57 +05:30
Brian Burkhalter
bcfb267efe
8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way
...
Add readUnknownTags to TIFFImageReadParam and add ReadParamTest
Reviewed-by: prr
2016-12-13 12:02:37 -08:00
Brian Burkhalter
42edb006ef
8169728: Missing sign checks in TIFFField(TIFFTag tag, int type, int count, Object data) for TIFFTag.TIFF_LONG
...
Add further checks for TIFF_LONG, TIFF_RATIONAL, TIFF_SRATIONAL, and TIFF_IFD_POINTER.
Reviewed-by: prr
2016-12-09 13:48:06 -08:00
Brian Burkhalter
12d7914077
8169725: cannot use TIFFField(TIFFTag tag, int value) for TIFF_LONG values greater than Integer.MAX_VALUE
...
Change constructor TIFFField(TIFFTag,int) to TIFFField(TIFFTag,long).
Reviewed-by: jdv, prr
2016-12-09 11:08:38 -08:00
Brian Burkhalter
599879e45f
8164750: TIFF reading fails when ignoring metadata with BaselineTIFFTagSet removed
...
Disallow not adding to metadata fields which are critical to reading the image data even when the BaselineTIFFTagSet has been removed from the TIFFImageReadParam and the ignoreMetadata flag is set.
Reviewed-by: prr
2016-11-02 11:07:16 -07:00
Brian Burkhalter
60eccdede5
8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node
...
Add a throws clause to the TIFFField.createFromMetadataNode method specification stating that the supplied Node parameter must adhere to the TIFFField element structure defined by the TIFF native image metadata DTD.
Reviewed-by: prr, darcy, serb
2016-08-24 10:59:17 -07:00
Brian Burkhalter
61860ae01d
8152966: ClassCastException when adding IFD to the TIFFDirectory before the image write
...
Move the private method getDirectoryAsIFD(TIFFDirectory) from the API class TIFFDirectory to a public method in the internal class TIFFIFD and replace all casts of TIFFDirectory to TIFFIFD with its invocation
Reviewed-by: prr
2016-08-12 14:35:56 -07:00
Brian Burkhalter
d41cfa354a
8145014: "IIOException: Couldn't seek!" when calling TIFFImageReader.getNumImages()
...
In locateImage() break and decrement image count for zero-entry IFDs and on encountering an EOF.
Reviewed-by: prr
2016-08-11 11:35:47 -07:00
Brian Burkhalter
13f9c0a307
8148454: [PIT] Failure of ReplaceMetadataTest on TIFF with IllegalStateException
...
Move super.setOutput() to end of setOutput() to avoid setting super.output to null
Reviewed-by: prr
2016-07-22 14:32:49 -07:00
Alexander Stepanov
540242ecef
8152183: [TEST] add test for TIFFField
...
Reviewed-by: prr, yan
2016-04-08 12:56:28 +03:00
Alexander Stepanov
fbd868d77c
8149028: [TEST] add test for TIFFDirectory
...
Reviewed-by: ssadetsky, yan
2016-04-01 13:52:04 +03:00
Alexander Stepanov
92f7b367fa
8149558: [TEST] add regression test for JDK-8150154
...
Reviewed-by: serb, yan
2016-03-25 15:49:24 +03:00
Alexander Stepanov
5b2d0bfd39
8145780: create a simple test for TIFF tag sets
...
Reviewed-by: bpb, yan
2016-02-04 14:27:16 +03:00
Alexander Stepanov
5a0d7f856f
8145776: [TEST] add a test checking multipage tiff creation
...
Reviewed-by: bpb, serb, ssadetsky
2016-01-14 16:22:31 +03:00
Brian Burkhalter
5b1765f25d
8144245: [PIT] javax/imageio/plugins/shared/WriteAfterAbort.java
...
Reset stream position after abort; change IAEs to NPEs.
Reviewed-by: prr, serb
2015-12-11 11:38:18 -08:00