1077 Commits

Author SHA1 Message Date
Harald Kuhr
a1fcfc3958 Fix WebP visibility issues. 2022-09-09 14:09:58 +02:00
Harald Kuhr
c60116a611 Inserted license header + author tags for contributed WebP files. 2022-09-09 14:06:41 +02:00
Simon Kammermeier
cda34b704b Indicate support for lossless to ImageIO 2022-09-09 01:18:53 +02:00
Simon Kammermeier
7c4487be04 Add tests for lossless decoder 2022-09-09 01:18:53 +02:00
Simon Kammermeier
5a4525aaa1 Remove debug prints 2022-09-09 01:18:53 +02:00
Simon Kammermeier
b766420e3e Parse ANIM metadata
Still need to expose them in image metadata
2022-09-09 01:18:53 +02:00
Simon Kammermeier
c858454c5a Support ImageReadParam Settings limiting Raster size
On animation frames dimension has to be passed as it is not guaranteed
the same as in the file header.
2022-09-09 01:18:53 +02:00
Simon Kammermeier
67b48ce1e3 Implement decoding of compressed alpha chunks, alpha filtering 2022-09-09 01:18:53 +02:00
Simon Kammermeier
6608f61353 Fix starting to read at wrong offset, now skips header 2022-09-09 01:18:53 +02:00
Simon Kammermeier
326b98d5e5 Implement applying of the inverse transforms 2022-09-09 01:18:53 +02:00
Simon Kammermeier
fafa58b718 Implement actual decoding including resolving backward refs and cache 2022-09-09 01:18:45 +02:00
Simon Kammermeier
0ed0246762 Implement Huffman Table parsing and decoding
Uses a 2 level table approach inspired by libwebp
2022-09-09 01:15:04 +02:00
Simon Kammermeier
b3004a1227 Implement buffering in LSBBitReader
This optimizes away the constant re-reading of bytes.
Also allows peeking at coming bits without consuming them.
2022-09-09 01:15:04 +02:00
Simon Kammermeier
7ab627a754 Setup Huffman Table framework, decode meta groups 2022-09-09 01:14:36 +02:00
Simon Kammermeier
008e57a7ce Move helper methods to transforms needing them 2022-09-09 01:09:28 +02:00
Simon Kammermeier
28270b4d5b Objectify Transforms
Deduplicate code for parsing predictor and color transforms.
Add missing subtraction code removal on indexing transform.
2022-09-09 00:46:48 +02:00
Simon Kammermeier
7382151db8 Convert transforms list and colorCache to local variables
This is needed because on recursion new (empty) ones are necessary.
2022-09-09 00:10:33 +02:00
Simon Kammermeier
b856ce07af Fix not using LSBBitReader 2022-09-09 00:04:41 +02:00
Harald Kuhr
190fe87ee9 DiscreteAlphaIndexColorModel num components fix 2022-08-19 16:38:45 +02:00
Harald Kuhr
d1872ce94f #694: Fixed import order 2022-08-19 14:08:26 +02:00
Harald Kuhr
a5c52a99b4 #694 BMP: Fixed subsampling for 24 bit/pixel case 2022-08-16 13:56:51 +02:00
Harald Kuhr
4170b393fa #684 Add some tolerance for JDK 8... 2022-06-10 17:48:20 +02:00
Harald Kuhr
53f9ba91e0 #684 Remove TODO as it's now fixed 2022-06-10 17:44:53 +02:00
Harald Kuhr
be2d7d5f10 #684 Fix some render size issues in SVGImageReader
Bonus: Minor code clean-up.
2022-06-10 17:24:47 +02:00
Harald Kuhr
00aec2c90e Minor code clean-up for WMFImageReader 2022-06-10 17:01:55 +02:00
Harald Kuhr
7d401d0194 #675 PSD 16/32 bit layer support pt2: Cross-platform test 2022-06-10 15:19:14 +02:00
Harald Kuhr
48691139a3 #675 PSD 16/32 bit layer support 2022-06-10 10:14:41 +02:00
Harald Kuhr
bcb87c09d2 #681: Fix for little-endian "packed" USHORT types + rewritten stream handling 2022-06-03 19:23:50 +02:00
Harald Kuhr
84a8ceeb93 #683: Fix TIFF stripByteCounts computation for uncompressed data 2022-06-03 16:04:43 +02:00
Harald Kuhr
0cb99feedf A new ImageInputStream adapter for InputStream. 2022-06-01 22:00:37 +02:00
Harald Kuhr
91493c5145 #682 TIFF Lab w/alpha support 2022-06-01 19:30:01 +02:00
Harald Kuhr
6ddb799a95 Fix bad format in validator message. 2022-05-29 14:55:17 +02:00
Harald Kuhr
8a187f6657 TGAImageReader no longer reads single byte 0-terminator as Image Identification 2022-05-18 22:47:45 +02:00
Harald Kuhr
b7d865f2cf #680 TGAImageReader now reads attribute bits with no extension area as alpha 2022-05-18 22:18:20 +02:00
Harald Kuhr
d50fb1a51e Fix bug in 0-terminated ASCII string parsing + test. 2022-05-18 21:01:17 +02:00
Harald Kuhr
44eebff62f #678, #679: TIFF read support for YCbCr Planar with or without subsampling 2022-05-12 23:01:12 +02:00
Harald Kuhr
8c85c4ca96 Simplified TIFF writing. 2022-05-06 19:49:06 +02:00
Harald Kuhr
d87b80deea PCX: Minor clean up 2022-05-06 19:27:44 +02:00
Harald Kuhr
ae138c3b4e Write LONG8 offsets for BigTIFF 2022-05-05 15:53:20 +02:00
Harald Kuhr
ab13fdd09d #677 Fixed integer overflow + added tests 2022-05-04 18:23:25 +02:00
Harald Kuhr
aab5b062bd Fixed test typo. 2022-05-04 18:22:14 +02:00
Harald Kuhr
00d6acd1bf [skip ci] Fixed some typos in comments. :-) 2022-04-26 19:25:52 +02:00
Harald Kuhr
9fe87fe10d #672: WebPImageReader now supports unknown stream lengths 2022-04-22 14:41:57 +02:00
Harald Kuhr
9e2f369459 #666 Clean-up: No alpha for RGB 3/components 2022-03-11 19:58:38 +01:00
Harald Kuhr
d34b0b7fcf #666 Support for TIFF RGB 2/4 bit per sample. 2022-03-11 19:54:33 +01:00
Oliver Schmidtmer
b67d687761
TIFFImageMetadata: ImageOrientation in mergeTree (#667)
TIFFImageMetadata: ImageOrientation in mergeTree
2022-02-28 15:53:49 +01:00
Harald Kuhr
4b951c06cc PNM: New attempt at making the new header parser work on Windows. 2022-02-14 22:00:04 +01:00
Harald Kuhr
a3e6e52c95 PNM Windows issue. Temporary roll-back to working version. 2022-02-14 19:33:28 +01:00
Harald Kuhr
5347015cbd PNM clean-up: Avoid leading/trailing whitespace in comments. 2022-02-14 19:27:55 +01:00
Harald Kuhr
4d190892df PNM clean-up. 2022-02-09 20:13:49 +01:00