922 Commits

Author SHA1 Message Date
Harald Kuhr
954dffd213 IFF: Thumbnail support for XS24 chunk.
(cherry picked from commit f5cfa0e619211b627d26417b13c8407b3063641b)
2022-02-21 16:15:08 +01:00
Harald Kuhr
b7b2a61c93 IFF: Read support for TVPaint DEEP and TVPP
+ Bonus: Massive code clean-up/refactor.

(cherry picked from commit 73ad024833ed74618b81f44c95614845defc1282)
2022-02-21 16:15:05 +01:00
Harald Kuhr
3cf6a4b836 IFF: More clean-up
(cherry picked from commit 379449b621a4169ebd0f9dbed5563edb4fbaa830)
2022-02-21 16:15:04 +01:00
Harald Kuhr
a93be99933 IFF: Read support for Impulse (Imagine, Turbo Silver) RGB8 format.
(cherry picked from commit e17faad6fb07edc3deff05cef8b8543f491e407f)
2022-02-21 16:15:04 +01:00
Harald Kuhr
b19bd1441f IFF clean-up.
(cherry picked from commit 1271a3d55eb5240f2328ceb683e6712b2996c665)
2022-02-21 16:15:04 +01:00
Harald Kuhr
f55a6d30dd A little safer way to skip 6 bytes...
(cherry picked from commit b76f74e79ab1de8d4537651b070f0b3e43e63542)
2022-02-21 16:14:56 +01:00
Harald Kuhr
e5f6227479 #658: TGAImageReader now allows extension area of size 0
(cherry picked from commit 78817a489b03a3afe372e4bd882b50273fbdd351)
2022-02-21 16:14:53 +01:00
Harald Kuhr
01d6fc8b49 #658: TGAImageReaderSpi now recognizes "true color" images with valid palette depth != 0
(cherry picked from commit b8f2a80ca6209a5d1e9cc1cf5c513b4dc867fad6)
2022-02-21 16:14:51 +01:00
Oliver Schmidtmer
f133ea7d61 findCompressionType always uses RLE if leading EOL is missing (#657)
Update of the last read byte is missing since the last update. So if only the first EOL is missing, further EOLs after the lines are not detected.

(cherry picked from commit ac8a36db1c578b1f4fc7b9afd8603993be80c7d8)
2022-02-21 16:14:48 +01:00
Harald Kuhr
3d5cf0eecd #655 Experimental force raster conversion switch.
(cherry picked from commit 7e0d8922dafc0f02417ca02f597eb9ce675816dd)
2022-02-21 16:14:45 +01:00
Harald Kuhr
975e23c28f Fix for IIOInvalidTreeException: Invalid DHT node #559
(cherry picked from commit 9a6b8c9bfe8c7ae677d89ff5423e5739fd2bdb4d)
2022-02-21 16:14:42 +01:00
Harald Kuhr
be60f307f7 #656 Code clean-up + minor refactorings.
(cherry picked from commit eced5b8efd22fa5fe3910cbf6c72a4a3fb015336)
2022-02-21 16:14:39 +01:00
Oliver Schmidtmer
3e783fba92 Support writing ASCII array in TIFF metadata (#656)
* Support writing ASCII array in TIFF metadata

* corrected formatting and extracted string writing to method

(cherry picked from commit 74611e4e52d7f6a4dd49a9ac3da1fa03c94d18fe)
2022-02-21 16:14:37 +01:00
Gauthier
9e9decd5dd add support for Github Actions, publish snapshots to OSSRH automatically (#633)
* remove oss-parent

* add github workflow

* use java 16 for now

* disable fail fast

* add java 15

* use only java 8 and 11 for now

* snapshot deploy

* snapshot deploy

* oracle jdk

* oracle jdk

* oracle jdk

* kcms matrix

* kcms job name

* only deploy for snapshots

* try not operator

* prepare PR

* restore groupId

* Fixed Travis link + bonus project summary updates

* Readme improvements

* #629: Preliminary WebP animation (ANIM/ANMF) support

* #629: Fixed build

* Make tests pass on JDK 16 and 17 (#635)

* make tests pass on JDK 16 and 17
replace deprecated mockito-all by mockito-core, and updated to latest 3.x
replace deprecated org.mockito.Matchers

* code cleanup from IDE suggestions

* add oracle jdk 16 and 17 to Travis

* test on java 17

* try to fix warning about maven-source-plugin

Co-authored-by: Harald Kuhr <harald.kuhr@gmail.com>
(cherry picked from commit 191b2371c8560f8ed1d400e44ffee323f08e24d5)
2022-02-21 16:14:30 +01:00
Harald Kuhr
3c0b78549e #652: Avoid OOME for large values outside TIFF, even if length is unknown
(cherry picked from commit 33419ef291fcd6c3a2b706446bb41bdcd8da1d51)
2022-02-21 16:14:27 +01:00
Harald Kuhr
46db5a2fbf #648: (Re-)Added support for nested layer groups
(cherry picked from commit 123f0bb7fccfd6a27d2c443980bebea6622fb942)
2022-02-21 16:14:25 +01:00
Harald Kuhr
f6a9477279 #648: Removed unnecessary parentheses.
(cherry picked from commit 99b5f28a49430521942d63cebdf104b9700e1d66)
2022-02-21 16:14:24 +01:00
Harald Kuhr
b7192ae857 #648: Simplified logic, code style fixes and clean up.
(cherry picked from commit b30fb4f8c348e0ee7ed92d51e623208e6b70eec7)
2022-02-21 16:14:24 +01:00
Jack Yun
c0b2769e3b Support Group Layer in psd (#648)
(cherry picked from commit dc0bdcbd5bb2506ef69262126fb6e5830d5e9e4c)
2022-02-21 16:14:24 +01:00
Harald Kuhr
0c90196357 [maven-release-plugin] prepare for next development iteration 2021-12-27 09:53:44 +01:00
Harald Kuhr
48f82a159f [maven-release-plugin] prepare release twelvemonkeys-3.8.1 2021-12-27 09:53:40 +01:00
Harald Kuhr
7105738811 #651: Fix ExtraSamplesColorModel equals + hashcode to behave nicely with ImageTypeSpecifier comparison.
(cherry picked from commit 98e4b762067344dc23fd3e30ee7e6cf9e143f950)
2021-12-24 13:00:15 +01:00
Harald Kuhr
10aa4ba41e Minor clean-up.
(cherry picked from commit aa4b5db0544f956ccc348e1f1f1001521825e4b6)
2021-12-24 13:00:15 +01:00
Harald Kuhr
6fb06da4d7 #651: Fix ExtraSamplesColorModel to create correct length elements array.
(cherry picked from commit 433311c10d22c1cae4bbd6f0609c9d60aa1aabb3)
2021-12-24 13:00:15 +01:00
Harald Kuhr
a963e1c355 Alternative fix for #650: Allow usage in OSGi environment.
(cherry picked from commit f50178bc78af3d6b7f288914a1cea121330312b8)
2021-12-23 11:02:46 +01:00
Snyk bot
966a9da45d fix: upgrade commons-io:commons-io from 2.9.0 to 2.11.0 (#647)
Snyk has created this PR to upgrade commons-io:commons-io from 2.9.0 to 2.11.0.

See this package in Maven Repository:
https://mvnrepository.com/artifact/commons-io/commons-io/

See this project in Snyk:
https://app.snyk.io/org/haraldk/project/9a1f6304-68e0-49c5-af4f-db1f87bd4f90?utm_source=github&utm_medium=referral&page=upgrade-pr

(cherry picked from commit e016e970e5fb5c5a057bf6fe37ed9e06dc2b1290)
2021-12-16 08:48:35 +01:00
Harald Kuhr
319b2c4e18 Overriding transitive dependency.
(cherry picked from commit 444aeabf219741ad1c0f217bd6297cd5b0418a8d)
2021-12-15 17:01:38 +01:00
Harald Kuhr
94777ddc96 #646: Spi now recognizes VP8 encoded images in VP8X ("extended format").
(cherry picked from commit 25c703f4b29fba3e5bf50cce9e9e5c14b06c5327)
2021-12-15 16:09:33 +01:00
Harald Kuhr
ab85ff0ec8 Prepare for next version. 2021-12-15 16:09:06 +01:00
Harald Kuhr
7de8231471 [maven-release-plugin] prepare release twelvemonkeys-3.8.0 2021-12-12 13:17:16 +01:00
Harald Kuhr
0de9f79029 [maven-release-plugin] rollback the release of twelvemonkeys-3.8.0 2021-12-12 13:13:54 +01:00
Harald Kuhr
eeb56acdde [maven-release-plugin] prepare for next development iteration 2021-12-11 23:26:21 +01:00
Harald Kuhr
a6862cfec8 Fixed JavaDoc. 2021-12-11 23:23:05 +01:00
Harald Kuhr
f8284700b4 #631 Attempt to fix tests for JDK 15 & 16 2021-12-11 22:38:42 +01:00
Harald Kuhr
38caeb22e0 #631 Introduced ColorProfiles. Profile activation through SPI to force early activation. 2021-12-11 18:58:25 +01:00
Harald Kuhr
b2c5915db8 #631 New way of forcing profile activation + guarding all invocations of ICC_Profile.getInstance() 2021-12-11 18:13:07 +01:00
Harald Kuhr
3911191b04 #645 AAIOBE in CCITTFaxDecoderStream now wrapped in IOException 2021-12-11 17:48:57 +01:00
Harald Kuhr
da4efe98bf Avoid fetching external resources in XMPReader. 2021-12-10 13:41:05 +01:00
Gauthier
5617b4323c
Make tests pass on JDK 16 and 17 (#635)
* make tests pass on JDK 16 and 17
replace deprecated mockito-all by mockito-core, and updated to latest 3.x
replace deprecated org.mockito.Matchers

* code cleanup from IDE suggestions

* add oracle jdk 16 and 17 to Travis
2021-10-26 18:38:33 +02:00
Harald Kuhr
16d0af357d #629: Fixed build 2021-10-15 16:04:53 +02:00
Harald Kuhr
74927d5396 #629: Preliminary WebP animation (ANIM/ANMF) support 2021-10-15 15:08:39 +02:00
Harald Kuhr
1c59057c30 #628: Stabilized build + better dependency scopes and module names in interop modules 2021-09-17 20:32:25 +02:00
Harald Kuhr
3e1f85c4dc #626 Clean up + fill order support for all compression types 2021-09-17 19:37:28 +02:00
Harald Kuhr
11227a68a0 #628 TIFF metadata fix, now always outputs denominator for rationals.
+ Bonus: Added JAI TIFF interop module with test and other minor fixes.
2021-09-17 16:34:38 +02:00
Oliver Schmidtmer
62ba73a30e
#626: Handle fillOrder in TIFFImageReader, not in CCITTFaxDecoderStream (#627) 2021-09-17 16:16:30 +02:00
Harald Kuhr
1f33afb5a1 Fixed NullPointerException due to missing PhotometricInterpretation, now uses fallback as we do when reading. 2021-09-16 22:56:13 +02:00
Harald Kuhr
9d3f271867 #626 TIFF CCITT detection only once per IFD 2021-09-16 22:25:06 +02:00
Harald Kuhr
812e12acb0 #623: TGAImageReader, PCXImageReader and SGIImageReader now return more standard image types as default, for better AffineTransformOp compatibility. Added tests.
Bonus: Subsampling fix for TGAImageReader and BMPImageReader.
2021-09-07 09:29:13 +02:00
Harald Kuhr
060b6cf852 #624: Added metadata support for 16 bit USHORT gray. 2021-09-07 09:24:27 +02:00
Koen De Groote
e68ce7ffd1
Certain pixeldepth-16 TGA files fail to process, classcast exception (#624)
* Added fixed for monochrome tga16 bit. Uncertain if that description is complete.
Test files added. Without the changed code, the tests fail.

* Fix suggested by HaraldK

Co-authored-by: Koen De Groote <koen.degroote@limecraft.com>
2021-09-03 16:19:05 +02:00