1460 Commits

Author SHA1 Message Date
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
Harald Kuhr
f14159de57 PSD Thumbnail fix. 2017-10-21 21:30:33 +02:00
Harald Kuhr
fe379df36e Removing Java 9 again + disabling Java 7 semi-permanent 2017-10-16 15:08:59 +02:00
Harald Kuhr
231866b448 Experimental, adding Java 9, removing Java 7. 2017-10-16 15:02:04 +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
2d564ad98e Merge pull request #371 from Schmidor/ccittbytealigned
Support PDF ByteAligned Flag on CCITT Decoder
2017-08-21 21:43:24 +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
Harald Kuhr
8f7228bb5f Merge pull request #353 from Schmidor/g3aoe
Fix for erroneous encoded ccitt lines
2017-08-21 21:36:16 +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
105ddd8ad5 TIFFUtilities code cleanups & firing IOExceptions instead of validation errors 2017-06-14 14:37:33 +02:00
Oliver Schmidtmer
b30d454bf0 Support merging and splitting of tiled TIFF pages 2017-06-13 16:55:55 +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