330 Commits

Author SHA1 Message Date
Bernhard Fey
edcac25f5e
Added test file for non-alpha extra channel
Added test file for CMYK TIFF with non-alpha extra channel
2018-09-27 10:07:57 +02:00
Bernhard Fey
5a5c1f996b
Modified new create[ImageTypeSpecifier] method according to suggestions by @haraldk
Renamed "create" method to "createImageTypeSpecifier".
Added exception thrown for unsupported planarConfiguration values.
2018-09-26 10:56:49 +02:00
Bernhard Fey
f9b8cae0ea
Fix for non-RGB images with extra sample
Added "create" method to TIFFImageReader that centralizes the use of "createBanded" and "createInterleaved" as well as the "extra samples" special case and fixes non-RGB images with non-alpha extra samples
2018-09-25 10:24:20 +02:00
Harald Kuhr
60180938d2 #439: Unclear exception message when passing image metadata as stream metadata 2018-08-30 14:46:55 +02:00
Harald Kuhr
1228043d57 [maven-release-plugin] prepare for next development iteration 2018-08-18 20:29:07 +02:00
Harald Kuhr
83adf121e2 [maven-release-plugin] prepare release twelvemonkeys-3.4 2018-08-18 20:28:59 +02:00
Harald Kuhr
24c6682236 #311 Updated license headers to be the same as in the LICENSE.txt 2018-08-18 19:22:52 +02:00
Harald Kuhr
f71bcc5125 #432: Alternate fix + more tests + better alpha handling for TIFF 2018-08-18 13:27:38 +02:00
Harald Kuhr
8579b1c5bc Merge remote-tracking branch 'origin/master' 2018-08-18 12:51:30 +02:00
Harald Kuhr
dd914444c9 Now preserves PHOTOMETRIC_WHITE_IS_ZERO for CCITT encodings. 2018-08-18 12:51:03 +02:00
Ivan Khaldeev
c83171cdbf Fix getAlphaRaster for ExtraSamplesColorModel 2018-06-29 10:02:05 +04:00
Harald Kuhr
44530d4717 Minor fix for possible NPE 2018-06-13 17:35:30 +02:00
Harald Kuhr
156990afe0 Simplified write logic, by reusing sequence writing (single image sequence). 2018-06-13 16:53:43 +02:00
Harald Kuhr
90593117db Now emits warning if metadata can't be converted. 2018-06-13 16:51:23 +02: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
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
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
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
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
6b966a2d4f Removed an unchecked cast. 2017-11-05 09:58:27 +01:00
Harald Kuhr
f14159de57 PSD Thumbnail fix. 2017-10-21 21:30:33 +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
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
12050dfe61 #328 CCITTFaxDecoderStream AIOOBE fix 2017-03-09 20:33:11 +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