Commit Graph

258 Commits

Author SHA1 Message Date
Harald Kuhr
b19df1640b #626 Clean up + fill order support for all compression types
(cherry picked from commit 3e1f85c4dc)
2021-12-10 16:53:27 +01:00
Harald Kuhr
e8e3e0f1d6 #628 TIFF metadata fix, now always outputs denominator for rationals.
+ Bonus: Added JAI TIFF interop module with test and other minor fixes.

(cherry picked from commit 11227a68a0)
2021-12-10 16:53:23 +01:00
Oliver Schmidtmer
c249a21c8c #626: Handle fillOrder in TIFFImageReader, not in CCITTFaxDecoderStream (#627)
(cherry picked from commit 62ba73a30e)
2021-12-10 16:53:23 +01:00
Harald Kuhr
182b2fdfa9 Fixed NullPointerException due to missing PhotometricInterpretation, now uses fallback as we do when reading.
(cherry picked from commit 1f33afb5a1)
2021-12-10 16:53:22 +01:00
Harald Kuhr
df068e350d #626 TIFF CCITT detection only once per IFD
(cherry picked from commit 9d3f271867)
2021-12-10 16:53:20 +01:00
Harald Kuhr
b55c623b87 #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.

(cherry picked from commit 812e12acb0)
2021-12-10 16:53:16 +01:00
Harald Kuhr
d8f0cd97a2 Fix typo in TIFFImageMetadataFormat mk II.
(cherry picked from commit 778cdef69c)
2021-12-10 16:52:21 +01:00
Harald Kuhr
f6971a9bce Fix typo in TIFFImageMetadataFormat.
(cherry picked from commit d46a76fca8)
2021-12-10 16:52:20 +01:00
Harald Kuhr
821965df0d #621 Don't add ICC profile for default gray images
(cherry picked from commit 105a1ee466)
2021-12-10 16:52:12 +01:00
Harald Kuhr
ed46305d31 #619: Fix WebP Y'CbCr->RGB conversion (now uses rec 601)
(cherry picked from commit 976e5d6210)
2021-12-10 16:51:49 +01:00
Oliver Schmidtmer
382c51db7c Invert EOF check
(cherry picked from commit cd42d81817)
2021-12-10 16:50:59 +01:00
Oliver Schmidtmer
660f3f7e86 #579 Deeper EOL search in the CCITT stream
(cherry picked from commit ba5c667b6c)
2021-12-10 16:50:59 +01:00
Harald Kuhr
2930708a54 #483 Initial PSD Write support
(cherry picked from commit 15a9ad0a9b)
2021-12-10 16:41:23 +01:00
Harald Kuhr
c2880fe793 Rename file, add missing file extension.
(cherry picked from commit b1baaad23b)
2021-12-10 16:39:15 +01:00
Harald Kuhr
9adf0f4da3 #417: Half precision support (clean-up) 2021-04-10 14:17:38 +02:00
Harald Kuhr
3e4460ac41 Removed TODO (that has been done for some time). 2021-03-30 17:13:00 +02:00
Harald Kuhr
42196e8513 No longer unregister the old Apple provided spi. 2021-03-30 12:31:56 +02:00
Harald Kuhr
bc07524e7a Simplified/optimized TIFF file recognition code. 2021-03-30 11:31:34 +02:00
Harald Kuhr
0011b9a480 #417: TIFF 16 bit FP 2021-03-29 10:26:47 +02:00
Harald Kuhr
9c8977062d #554, #416: Relaxed custom metadata restrictions. 2021-03-27 15:20:59 +01:00
Harald Kuhr
b01b820ec8 Remove unintended debug output. 2021-03-27 15:19:15 +01:00
Harald Kuhr
bb650e5280 Easier subsampling with xSub == 1 as no-op 2021-03-27 14:37:33 +01:00
Harald Kuhr
ebaa69713f Deprecate for BufferedImageInputStream, now using buffered streams directly in all readers. 2021-01-11 22:07:31 +01:00
Harald Kuhr
253f04066b #579 More reliable CCITT compression type detection 2020-12-23 11:46:58 +01:00
Harald Kuhr
0da007ec8c Minor clean-up. 2020-12-11 18:32:02 +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
021aba1a98 Better output when debugging readers. 2020-10-07 19:47:09 +02:00
Harald Kuhr
4d833a50e5 TIFF constants. 2020-07-10 22:41:47 +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
Koen De Groote
aff31ebd1b Intellij suggested changes from static code analysis. 2020-01-28 16:18:07 +01:00
Harald Kuhr
768bc30653 Merge branch 'master' into adobe-path-write 2020-01-15 15:11:31 +01:00
Harald Kuhr
d9d8419803 #514: Fix integer overflow in stripbytecounts computation. 2020-01-14 21:18:13 +01:00
Harald Kuhr
e5c6832ec0 #490: Allow writing more TIFF fields. 2020-01-13 21:05:04 +01:00
Harald Kuhr
f449a50d64 TIFF tile support. 2019-08-29 19:11:14 +02:00
Harald Kuhr
0c2433dc9f #289, #493: Finally implemented subsampling for < 8 bit samples 2019-08-29 19:11:14 +02:00
Harald Kuhr
9e23413456 Fixed JavaDoc errors to enable Java 8 build. 2019-08-10 00:41:36 +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
7fad4d5cd8 #475: Fix support for writing TIFF > 2 GB 2019-02-12 20:40:08 +01: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