1282 Commits

Author SHA1 Message Date
Harald Kuhr
961dee3d41 #421: Fix for LCMS profile issue, due to LCMS altering the profile header on first use (ie. validation). 2018-04-06 20:45:38 +02:00
Harald Kuhr
2078843086 #419 PICT rounding issue 2018-04-05 18:58:42 +02:00
Harald Kuhr
a81472bb5f #414: Fix for BufferedImageInputStream alignment/partial read issues.
Bonus clean-up of tests.
2018-03-22 13:27:40 +01:00
Harald Kuhr
0c66ad82dd #405 SVG OSGi issue 2018-03-07 09:31:35 +01:00
Harald Kuhr
9b871322f7 Better debug output. 2018-03-07 08:55:06 +01:00
Harald Kuhr
7bed5a1c9c #323: Minor optimization + changed warning message. 2018-03-06 23:47:51 +01:00
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
c2dd99286c #388 Now with correct Maven options env variable. 2017-11-05 09:46:41 +01:00
Harald Kuhr
810f120eee #388 Using env matrix for testing multiple CMMs on JDK8 2017-11-05 09:42:49 +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