1091 Commits

Author SHA1 Message Date
Harald Kuhr
653360e054 Moving travis build to trusty, to fix JDK8 build
(cherry picked from commit e6f437f55bcecdf38a8287ba0a6aa3c45775ed5b)
2019-08-09 21:04:40 +02:00
Harald Kuhr
4f193d543c #488: Fix for AIOOBE in getEmbeddedICCProfile when ICC profile is empty
(cherry picked from commit ee049d946551cfe1dcbd5816ff366d26dc0ad26a)
2019-08-09 21:04:40 +02:00
Harald Kuhr
1d0cc43476 #489 Fix for Unexpected End of PackBits Stream for padded streams.
(cherry picked from commit f6aa810f8b2f73f32ffec51ea024828114942b1b)
2019-08-09 21:04:40 +02:00
Harald Kuhr
9791a251ed #469 Fix for OOME while reading Exif with corrupted IFDs/counts
(cherry picked from commit e8d1b999a290071b4df1aad77099cc4b8ee40572)
2019-08-09 21:04:40 +02:00
Harald Kuhr
0bc30f4d18 JPEG Exif parsing optimization.
(cherry picked from commit d7fbd6594e073ca41476d9513a163aa7c43ef549)
2019-08-09 21:04:40 +02:00
Harald Kuhr
022fc03fbb XMLSerializer speedup.
(cherry picked from commit caef9b6a9e95bff7d11085d94a7da99dd7aa5cee)
2019-08-09 21:04:39 +02:00
Harald Kuhr
8b66842859 #475: Fix support for writing TIFF > 2 GB
(cherry picked from commit 7fad4d5cd8cb3a6728c7fd3f28a7b84d8ce0101d)
2019-08-09 21:04:39 +02:00
Harald Kuhr
5251f4665e #473: Fix for ColorMap (Indexed) TIFF with non-alpha ExtraSamples.
(cherry picked from commit 3e4b14f984729d709d96cc2d020b38c3b77c15a8)
2019-08-09 21:04:39 +02:00
Paul Verest
b98b81b877 colorize code snippets in README using GFM ``java, ``xml
(cherry picked from commit 51b0734462d047e6c3a56847daefd81f2aeb72dc)
2019-08-09 21:03:01 +02:00
Harald Kuhr
774b494fec Updated commons-fileupload dependency to safe version, even if in scope provided, just in case.
(cherry picked from commit 8e3cd5aedbed2bf507891fb6f7ab018d16c158e9)
2019-08-09 21:03:00 +02:00
Oliver Schmidtmer
90ef605b0c Fix for #455: Ignore profiles PhotometricInterpretation MinIsWhite with 1bit/pixel
(cherry picked from commit cbaa0dc688fba123d52363290df420a73dba7fe0)
2019-08-09 21:03:00 +02:00
Harald Kuhr
b40eea0fc4 Fix test case for #446 in case of "Gerenic CMYK" profile not being available.
(cherry picked from commit 61bac979333de1245505489d52dd7d85ce607dc9)
2019-08-09 21:03:00 +02:00
Harald Kuhr
9ac2013965 Better assertion failed messages.
(cherry picked from commit 3e9be32279ccc6a8248d407ffebfde32355f5c74)
2019-08-09 21:03:00 +02:00
Harald Kuhr
4740a39cd2 Test case for #446.
(cherry picked from commit a0955875d82dcbe44acfc7f70e280f73683f27e6)
2019-08-09 21:03:00 +02:00
Harald Kuhr
7ebcc437c3 Various Java 9 and beyond fixes:
- ExtraSamplesColorModel now overrides getComponentSize for correct size
 - TIFFImageReader/WriterSpi now recognizes the JEP 262 TIFF plugin
 - CCITTFaxEncoderStreamTest now directly creates writer (not JDK one)

(cherry picked from commit 7e0de147833a8d8c554eb7f4a7d42750528c379d)
2019-08-09 21:02:30 +02:00
Harald Kuhr
70c16dfdd9 Various Java 9 and beyond fixes.
(cherry picked from commit de34d4642e829e164c4ec8fd8420960f5141c6ec)
2019-08-09 21:02:30 +02:00
Harald Kuhr
c9e2e21727 Equals method for DiscreteAlphaIndexColorModel, needed for Java 10.
(cherry picked from commit b86bad2bf9f01fdd19067f5b69254aa237f80ca2)
2019-08-09 21:02:30 +02:00
Harald Kuhr
230ac33283 #442 SVG BaseURI issue fix
(cherry picked from commit cc5af0134cd34e9d45d0015d6dcb553a87b05ff0)
2019-08-09 21:02:30 +02:00
Bernhard Fey
66e0acb668 Added test file for non-alpha extra channel
Added test file for CMYK TIFF with non-alpha extra channel

(cherry picked from commit edcac25f5e2c36c3b091d248364bd68520bd42ff)
2019-08-09 21:02:30 +02:00
Bernhard Fey
7d8858c177 Modified new create[ImageTypeSpecifier] method according to suggestions by @haraldk
Renamed "create" method to "createImageTypeSpecifier".
Added exception thrown for unsupported planarConfiguration values.

(cherry picked from commit 5a5c1f996b7f72756b403760b72a56985ace8211)
2019-08-09 21:02:30 +02:00
Bernhard Fey
faab9517dd 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

(cherry picked from commit f9b8cae0ea2f3df56af3d5272f6b252a49fad445)
2019-08-09 21:02:30 +02:00
Harald Kuhr
2433777b6d Updated readme
(cherry picked from commit 62538c3db9a44dbb8bbe8cc756a01b0049c21723)
2019-08-09 21:02:13 +02:00
Harald Kuhr
3980c937cf Fixed release date.
(cherry picked from commit 48aa504be4107554fbb62fbda11b1981f3edb026)
2019-08-09 21:02:13 +02:00
Harald Kuhr
468ffb891d Updated versions from 3.4 to 3.4.1.
(cherry picked from commit ed2eb7642a47531ba252dc1591e90f59ceff4d97)
2019-08-09 21:02:13 +02:00
Harald Kuhr
e27e8a7ccb #408 Added servlet JAR to dependency example.
(cherry picked from commit 24ec5ae34d4548460c055ac3f85a9ddd59f51e5a)
2019-08-09 21:02:03 +02:00
Harald Kuhr
f2dba604da #311 Updated some more license headers that was left out in the initial change.
(cherry picked from commit a7b374e51ac10c552fd13314c959f1862c42e686)
2019-08-09 21:01:29 +02:00
Harald Kuhr
04f27a1694 #438 CompoundDocument file descriptor fix 2018-09-08 16:21:01 +02:00
Harald Kuhr
2630a6a795 [maven-release-plugin] prepare for next development iteration 2018-09-07 19:48:17 +02:00
Harald Kuhr
ab2f1f7e91 [maven-release-plugin] prepare release twelvemonkeys-3.4.1 twelvemonkeys-3.4.1 2018-09-07 19:48:10 +02:00
Harald Kuhr
7110e89bda Prepare next release 2018-09-07 19:42:06 +02:00
Harald Kuhr
a06cbfd6f4 #437 Catching exception from static init, prints a warning and moves on.
(cherry picked from commit d8d0131)
2018-08-30 15:04:55 +02:00
Harald Kuhr
3b68d676f3 #439: Unclear exception message when passing image metadata as stream metadata
(cherry picked from commit 6018093)
2018-08-30 15:04:52 +02:00
Harald Kuhr
83adf121e2 [maven-release-plugin] prepare release twelvemonkeys-3.4 twelvemonkeys-3.4 2018-08-18 20:28:59 +02:00
Harald Kuhr
6cf9152508 Batik 1.9 2018-08-18 20:02:15 +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
6f9c83a0a9 #433: Test case for offset issue. 2018-08-18 13:17:43 +02:00
Harald Kuhr
4afa934251 #431: Clean-up + added test 2018-08-18 13:12:54 +02:00
Harald Kuhr
2235f6c911 #202, #433: Fixes offset issues when reading multiple JPEGs from single stream + embedded case (ie. TIFF). 2018-08-18 13:08:17 +02:00
Harald Kuhr
27fcd495db Added dispose() of reader after reading. 2018-08-18 12:52:53 +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
Harald Kuhr
520c6bd81c
Merge pull request #431 from seafraf/master
Added an extra mark to match the reset call in the finally block
2018-08-08 09:41:09 +02:00
Harald Kuhr
99e27c141a
Merge pull request #430 from Schmidor/megeWithSubIFD
Merging of TIFF Pages with Sub-IFDs caused a NPE
2018-08-02 10:34:06 +02:00
Seafra Forder
b43faf2fae Added an extra mark to match the reset call in the finally block 2018-07-16 14:21:57 +01:00
Oliver Schmidtmer
18800b6ee4 Merging TIFF pages failed, if a page contained a sub IFD without a TIFF.TAG_COMPRESSION entry 2018-07-09 16:42:34 +02:00
Harald Kuhr
7cb1c6811a
Merge pull request #429 from ikhaldeev/fix-extra-samples-alpha
Fix getAlphaRaster for ExtraSamplesColorModel (TIFFImageReader)
2018-07-02 10:04:02 +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
f3749b8fc6 #402 Now forces ProfileDeferralMgr.activateProfiles() if TM plugins are used. 2018-06-13 17:00:32 +02:00