588 Commits

Author SHA1 Message Date
Harald Kuhr
ee299ee577 API clean-up. 2018-03-06 23:22:45 +01:00
Harald Kuhr
15e39bce3f #323 JPEGSegmentImageInputStream now rewrites duplicate SOF/SOS ids.
And emits warnings when it applies rewrites.
2018-03-06 23:19:47 +01: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
633e5cc6a2 #25 CMYK JPEG write support 2018-01-23 19:51:33 +01:00
Harald Kuhr
65a83d76e0 #25 CMYK JPEG write support 2018-01-23 19:50:44 +01:00
Harald Kuhr
c294c5869c #368 related clean-up 2018-01-17 19:24:31 +01:00
Harald Kuhr
2b29c14593 #368 related clean-up 2018-01-17 18:27:33 +01:00
Harald Kuhr
3f06bbee99
Merge pull request #368 from Schmidor/invalidIDFpointer
An invalid IFD pointer caused creating an empty IFD Directory
2018-01-17 18:18:05 +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
Harald Kuhr
d564a6b338 CCITT EncodedByteAlign now default for RLE, always overridable. 2018-01-17 17:41:25 +01:00
Harald Kuhr
b3b06dff4a TIFF Fax option byte aligned now constructor parameter. Made all option fields final. 2018-01-17 13:58:55 +01:00
Harald Kuhr
6936e7cbb2 #403 Test case for uncommon resource. 2018-01-15 15:03:23 +01:00
Harald Kuhr
2a40bdb14b Fixed DCX off-by one issue + minor optimization. 2018-01-09 20:33:35 +01:00
Harald Kuhr
6113ae1c9c Code clean-up. 2018-01-09 20:30:06 +01:00
Harald Kuhr
d02d45f95a #400 Added test case for the V3 with no palette case. 2018-01-09 20:01:30 +01:00
Harald Kuhr
39277697a6 #400 Fixed minor issues in metadata. Added Document node with version. 2018-01-09 19:50:19 +01:00
Harald Kuhr
27a6ae6ffc #400 Better handling of colors, now uses fallback B/W for most bi-level images.
Gray image now uses palette if present.
PaletteInfo header flag is ignored and no longer outputs warning.
2018-01-09 19:49:38 +01:00
Harald Kuhr
c8a19418eb #403 Support for uncommon PSD resource magic: MeSa, PHUT, AgHg and DCSR 2018-01-06 21:07:15 +01:00
Harald Kuhr
fb3c5f8440 Added test case for RGB JPEG
+ fixed an issue in getImageTypes to avoid incompatible conversion.
2018-01-05 12:49:54 +01:00
Harald Kuhr
3a86bfab98 #399 Rewritten getSourceCSType to mimic libjpeg 2018-01-05 11:41:15 +01:00
Harald Kuhr
cdb2d72f8b #400 Fixed AIOOBE reading index color w/bitplanes for uneven widths. 2018-01-03 18:05:19 +01:00
Harald Kuhr
63830a26e5 #401 #334 Work around for stream position issue in FileCacheImageOutputStream causing garbled output for multipage TIFF files
+ Added regression tests.
2017-12-22 22:01:10 +01:00
Harald Kuhr
921dba89f7 Now throws IllegalArgumentException if attempting to write non-binary data using CCITT fax compressions. 2017-12-19 22:28:14 +01:00
Harald Kuhr
8ca3fcecca #334 Hardened test case for multi page (sequence) writing. 2017-12-19 21:59:14 +01:00
Harald Kuhr
bf32881d47 #334 Hardened test case for multi page (sequence) writing. 2017-12-19 21:42:28 +01:00
Harald Kuhr
b8a540c0af #334 Hardened test case for multi page (sequence) writing. 2017-12-19 21:40:15 +01:00
Harald Kuhr
73a13fa849 Correct indexes in ICCProfile segment. 2017-12-19 21:20:26 +01:00
Harald Kuhr
8a3b8c4c03 #358 Now passes compression quality on to the JPEGImageWriter delegate 2017-12-19 20:34:02 +01:00
Harald Kuhr
910f9fafc7 #397 ColorSpaceType value -> name 2017-12-19 20:32:26 +01:00
Harald Kuhr
73e4eb8627 #360 JPEG-LOSSLESS/jpeg-lossless now part of format names. 2017-12-19 19:52:25 +01:00
Harald Kuhr
c2fe5ab736 #324 Support for PackBits/LZW/Deflate w/FillOrder 2 2017-12-19 19:32:32 +01:00
Harald Kuhr
f9dcbd7fa3 Fix for Wang/Microsoft Imaging Old Style JPEG in TIFF. 2017-12-19 18:58:19 +01:00
Harald Kuhr
5a27048600 #317 Allow correctly decoding TIFFs with multiple extra samples. 2017-12-02 12:57:47 +01:00
Harald Kuhr
743c2bf3cd #394: Fix for ArrayIndexOutOfBoundsException for grayscale floating point TIFFs + bonus WhiteIsZero for float. 2017-11-18 16:16:46 +01:00
Harald Kuhr
7a5110506b #394: Fix for ArrayIndexOutOfBoundsException for grayscale floating point TIFFs + bonus WhiteIsZero for float. 2017-11-18 16:13:27 +01:00
Harald Kuhr
cd9f3a036e #393: Input size validation of ICC profiles 2017-11-18 15:54:27 +01:00
Harald Kuhr
719b6e7883 Made test case more robust when running headless on Windows. 2017-11-18 14:25:15 +01:00
Harald Kuhr
b68848f58f #386 Fixed ColorSpaces ICC profile caching bug pt II 2017-11-18 14:20:40 +01:00
Harald Kuhr
d677141ab7 #386 Fixed ColorSpaces ICC profile caching bug 2017-11-05 11:44:41 +01:00
Harald Kuhr
1c27b58598 #390 Deferred parsing of embedded resources. Allows reading pixel data for images with unparseable metadata.
Broken metadata is now ignored + warning, rather than causing exceptions.
2017-11-05 10:29:49 +01:00
Harald Kuhr
6b966a2d4f Removed an unchecked cast. 2017-11-05 09:58:27 +01:00
Harald Kuhr
4a1eb4b376 #384 RGB PSB files with non-transparency alpha channels now rendered correctly 2017-10-27 19:51:09 +02:00
Harald Kuhr
f14159de57 PSD Thumbnail fix. 2017-10-21 21:30:33 +02:00
Harald Kuhr
a15e69e019 #374 Added support for TIFF 32 bit float Grayscale 2017-10-16 14:52:40 +02:00
Harald Kuhr
c1fac78f3c #383 PSD CMYK > 5 channels fix 2017-10-16 14:26:28 +02:00
Harald Kuhr
0170ee36a9 Fix streamPos/bitPos issue in SubImageOutputStream. 2017-08-21 22:03:18 +02:00
Harald Kuhr
792b531b0e #342 Initial BigTIFF support 2017-08-21 21:59:09 +02:00
Harald Kuhr
3f5f48d8cb Merge remote-tracking branch 'origin/master' 2017-08-21 21:43:53 +02:00
Harald Kuhr
30ad08682d Merge branch 'master' into ccittbytealigned 2017-08-21 21:40:19 +02:00
Harald Kuhr
9cf30790de Merge pull request #369 from Schmidor/tm334
Fix #334: Writing compressed multipage TIFF
2017-08-21 21:38:21 +02:00