619 Commits

Author SHA1 Message Date
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
Harald Kuhr
d16c9067d1 Merge pull request #354 from Schmidor/transform_oldstyle_to_newstyle_jpeg
Merging/Splitting: Transform old-style to new-style JPEG and support tiled pages
2017-08-21 21:37:44 +02:00
Oliver Schmidtmer
d831b6aad8 Unittest for ByteAligned-Flag on CCITT Decoder 2017-08-07 17:11:41 +02:00
Oliver Schmidtmer
cce1c06296 Support PDF ByteAligned Flag on CCITT Decoder 2017-08-04 15:48:54 +02:00
Oliver Schmidtmer
acad978f71 An invalid IFD pointer caused creating an empty IFD Directory 2017-08-02 16:31:43 +02:00
Oliver Schmidtmer
22e7b21510 Fix #334: Writing compressed multipage TIFF 2017-07-28 13:26:15 +02:00
Oliver Schmidtmer
3e43841e85 Transform old-style JPEG to new-style 2017-06-13 16:37:14 +02:00
Oliver Schmidtmer
4e640dda51 Fix for erroneous encoded ccitt lines
The ccitt tiff is missing a terminating huffman code on a line end. The following EOL is misinterpreted and the codestream read till an ArrayIndexOutOfBoundsException occurs.
Now reading the line is aborted as soon as an EOL is found.
2017-06-12 13:35:46 +02:00
Harald Kuhr
b8a5bbe309 Minimal readRaster implementation. 2017-04-26 15:29:46 +02:00
Harald Kuhr
86fa76c17d #343 Work-around for delegate getDestination issue, now reading through readRaster method to allow reading larger files. 2017-04-26 15:24:50 +02:00
Harald Kuhr
2eecdbb216 #341 Work-around for OpenJDK JPEG read issue 2017-04-26 15:17:39 +02:00
Harald Kuhr
641d9965fb Removed dead code. 2017-04-19 20:47:05 +02:00
Harald Kuhr
12050dfe61 #328 CCITTFaxDecoderStream AIOOBE fix 2017-03-09 20:33:11 +01:00
Harald Kuhr
97cd8a955f #326: Support for JFIF JPEG with non-spec 8 bit grayscale thumbnail. 2017-02-27 20:58:23 +01:00
Harald Kuhr
94d6ad1ef7 #306 TIFF LZW write EOF issue 2017-01-19 16:10:54 +01:00
Harald Kuhr
d57e4143c4 #307 PIXTIFF ZIP compression 50013 support 2017-01-19 16:07:48 +01:00
Harald Kuhr
9199083c57 #307 PIXTIFF ZIP compression 50013 support 2017-01-18 19:26:37 +01:00
Harald Kuhr
3b76d9fcfd #304 TIFF JPEG Lossless support 2017-01-18 18:59:38 +01:00
Harald Kuhr
6ea1ea8916 #312, #313, #314 Fixed ClassCastException when rewriting compressed TIFF images. 2017-01-18 18:44:05 +01:00
Harald Kuhr
762b59674b #306 TIFF LZW IndexColorModel issue + sequence index 2017-01-18 18:08:20 +01:00