Commit Graph

153 Commits

Author SHA1 Message Date
Harald Kuhr
c2873b1f27 Minor test optimization... 2022-10-15 12:05:33 +02:00
Harald Kuhr
bcb87c09d2 #681: Fix for little-endian "packed" USHORT types + rewritten stream handling 2022-06-03 19:23:50 +02:00
Harald Kuhr
84a8ceeb93 #683: Fix TIFF stripByteCounts computation for uncompressed data 2022-06-03 16:04:43 +02:00
Harald Kuhr
91493c5145 #682 TIFF Lab w/alpha support 2022-06-01 19:30:01 +02:00
Harald Kuhr
44eebff62f #678, #679: TIFF read support for YCbCr Planar with or without subsampling 2022-05-12 23:01:12 +02:00
Harald Kuhr
ab13fdd09d #677 Fixed integer overflow + added tests 2022-05-04 18:23:25 +02:00
Harald Kuhr
d34b0b7fcf #666 Support for TIFF RGB 2/4 bit per sample. 2022-03-11 19:54:33 +01:00
Oliver Schmidtmer
b67d687761 TIFFImageMetadata: ImageOrientation in mergeTree (#667)
TIFFImageMetadata: ImageOrientation in mergeTree
2022-02-28 15:53:49 +01:00
Oliver Schmidtmer
ac8a36db1c findCompressionType always uses RLE if leading EOL is missing (#657)
Update of the last read byte is missing since the last update. So if only the first EOL is missing, further EOLs after the lines are not detected.
2022-01-15 00:21:47 +01:00
Harald Kuhr
98e4b76206 #651: Fix ExtraSamplesColorModel equals + hashcode to behave nicely with ImageTypeSpecifier comparison. 2021-12-24 12:57:24 +01:00
Harald Kuhr
aa4b5db054 Minor clean-up. 2021-12-24 12:27:10 +01:00
Harald Kuhr
433311c10d #651: Fix ExtraSamplesColorModel to create correct length elements array. 2021-12-24 12:25:31 +01:00
Harald Kuhr
3911191b04 #645 AAIOBE in CCITTFaxDecoderStream now wrapped in IOException 2021-12-11 17:48:57 +01:00
Gauthier
5617b4323c Make tests pass on JDK 16 and 17 (#635)
* make tests pass on JDK 16 and 17
replace deprecated mockito-all by mockito-core, and updated to latest 3.x
replace deprecated org.mockito.Matchers

* code cleanup from IDE suggestions

* add oracle jdk 16 and 17 to Travis
2021-10-26 18:38:33 +02:00
Harald Kuhr
11227a68a0 #628 TIFF metadata fix, now always outputs denominator for rationals.
+ Bonus: Added JAI TIFF interop module with test and other minor fixes.
2021-09-17 16:34:38 +02:00
Oliver Schmidtmer
62ba73a30e #626: Handle fillOrder in TIFFImageReader, not in CCITTFaxDecoderStream (#627) 2021-09-17 16:16:30 +02:00
Harald Kuhr
1f33afb5a1 Fixed NullPointerException due to missing PhotometricInterpretation, now uses fallback as we do when reading. 2021-09-16 22:56:13 +02:00
Harald Kuhr
812e12acb0 #623: TGAImageReader, PCXImageReader and SGIImageReader now return more standard image types as default, for better AffineTransformOp compatibility. Added tests.
Bonus: Subsampling fix for TGAImageReader and BMPImageReader.
2021-09-07 09:29:13 +02:00
Harald Kuhr
d46a76fca8 Fix typo in TIFFImageMetadataFormat. 2021-08-31 22:26:32 +02:00
Harald Kuhr
105a1ee466 #621 Don't add ICC profile for default gray images 2021-08-31 22:16:08 +02:00
Harald Kuhr
1ddab866fd #617 BigTIFF write support. 2021-08-09 21:11:40 +02:00
Harald Kuhr
15a9ad0a9b #483 Initial PSD Write support 2021-05-06 00:01:54 +02:00
Harald Kuhr
b1baaad23b Rename file, add missing file extension. 2021-04-25 19:55:33 +02:00
Harald Kuhr
0011b9a480 #417: TIFF 16 bit FP 2021-03-29 10:26:47 +02:00
Harald Kuhr
253f04066b #579 More reliable CCITT compression type detection 2020-12-23 11:46:58 +01:00
Harald Kuhr
e5b3e9755e Added missing tests. 2020-10-14 19:13:28 +02:00
Harald Kuhr
6c34fb211f ImageWriterAbstractTest refactorings. 2020-10-14 18:54:46 +02:00
Harald Kuhr
9fdbc3b1fc ImageReaderAbstractTest refactorings. 2020-10-14 17:06:35 +02:00
Harald Kuhr
107da17ca9 Dependabot broke my build... 2020-10-13 19:16:58 +02:00
Harald Kuhr
db5635e844 #535: Detect incorrect compression in TIFF CCITT stream. 2020-06-16 21:54:16 +02:00
Harald Kuhr
96cb3a07f4 #525: Fix for negative arrays size in old style JPEG in TIFF. 2020-04-15 13:28:56 +02:00
Harald Kuhr
fb304d6c27 #520: Fix for incorrect serialization of single element arrays in metadata. 2020-01-29 20:58:34 +01:00
Harald Kuhr
e5c6832ec0 #490: Allow writing more TIFF fields. 2020-01-13 21:05:04 +01:00
Harald Kuhr
0c2433dc9f #289, #493: Finally implemented subsampling for < 8 bit samples 2019-08-29 19:11:14 +02:00
Harald Kuhr
7985cdd4a7 449# Missing test to verify that we ignore bogus 0 byte counts. 2019-08-08 23:17:08 +02:00
Harald Kuhr
3e4b14f984 #473: Fix for ColorMap (Indexed) TIFF with non-alpha ExtraSamples. 2019-02-12 20:34:31 +01:00
Harald Kuhr
5ade293445 Merge pull request #458 from Schmidor/455
Fix for #455: Ignore profiles PhotometricInterpretation MinIsWhite wi…
2019-02-12 20:29:31 +01:00
Oliver Schmidtmer
cbaa0dc688 Fix for #455: Ignore profiles PhotometricInterpretation MinIsWhite with 1bit/pixel 2018-11-22 12:20:58 +01:00
Harald Kuhr
61bac97933 Fix test case for #446 in case of "Gerenic CMYK" profile not being available. 2018-10-26 22:28:31 +02:00
Harald Kuhr
3e9be32279 Better assertion failed messages. 2018-10-26 22:14:57 +02:00
Harald Kuhr
a0955875d8 Test case for #446. 2018-10-26 20:34:57 +02:00
Harald Kuhr
38ea0989d4 Merge pull request #446 from bernhardf-ro/master
Fix for corrupted output from non-RGB TIFF images with extra samples
2018-10-26 20:21:12 +02:00
Harald Kuhr
de34d4642e Various Java 9 and beyond fixes. 2018-10-26 19:40:00 +02:00
Bernhard Fey
edcac25f5e Added test file for non-alpha extra channel
Added test file for CMYK TIFF with non-alpha extra channel
2018-09-27 10:07:57 +02:00
Harald Kuhr
60180938d2 #439: Unclear exception message when passing image metadata as stream metadata 2018-08-30 14:46:55 +02:00
Harald Kuhr
24c6682236 #311 Updated license headers to be the same as in the LICENSE.txt 2018-08-18 19:22:52 +02:00
Harald Kuhr
f71bcc5125 #432: Alternate fix + more tests + better alpha handling for TIFF 2018-08-18 13:27:38 +02:00
Ivan Khaldeev
c83171cdbf Fix getAlphaRaster for ExtraSamplesColorModel 2018-06-29 10:02:05 +04:00
Harald Kuhr
127e6c0acb #404, #406: Better detection of source color space for JPEG-in-TIFF. 2018-03-06 22:48:07 +01:00
Harald Kuhr
a5471ef4c4 CCITT EncodedByteAlign now default for RLE, always overridable.
+ test case provided by @Schmidor
2018-01-17 18:13:22 +01:00