Commit Graph

94 Commits

Author SHA1 Message Date
Harald Kuhr
6ffcb88872 Verify that RGB data is correct. 2020-10-16 18:21:40 +02:00
Harald Kuhr
960e764c7b Added test to verify how to write CMYK JPEG without ICC profile. 2020-10-16 18:19:08 +02:00
Harald Kuhr
6c34fb211f ImageWriterAbstractTest refactorings. 2020-10-14 18:54:46 +02:00
Harald Kuhr
9fdbc3b1fc ImageReaderAbstractTest refactorings. 2020-10-14 17:06:35 +02:00
Harald Kuhr
107da17ca9 Dependabot broke my build... 2020-10-13 19:16:58 +02:00
Harald Kuhr
e6bd94025f JPEG Metadata clean-up 2020-07-10 22:26:53 +02:00
Harald Kuhr
330a0414f0 Fix JPEG tests 2020-07-10 22:26:12 +02:00
Harald Kuhr
5cc201b46d JPEG Exif rotation in metadata + support 2020-07-10 22:05:46 +02:00
Harald Kuhr
ee049d9465 #488: Fix for AIOOBE in getEmbeddedICCProfile when ICC profile is empty 2019-08-07 16:18:01 +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
6f9c83a0a9 #433: Test case for offset issue. 2018-08-18 13:17:43 +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
7ab72f0161 #329 JPEGImageReader endless loop fix 2018-05-22 21:10:57 +02:00
Harald Kuhr
7bed5a1c9c #323: Minor optimization + changed warning message. 2018-03-06 23:47:51 +01:00
Harald Kuhr
ee299ee577 API clean-up. 2018-03-06 23:22:45 +01:00
Harald Kuhr
15e39bce3f #323 JPEGSegmentImageInputStream now rewrites duplicate SOF/SOS ids.
And emits warnings when it applies rewrites.
2018-03-06 23:19:47 +01:00
Harald Kuhr
633e5cc6a2 #25 CMYK JPEG write support 2018-01-23 19:51:33 +01:00
Harald Kuhr
65a83d76e0 #25 CMYK JPEG write support 2018-01-23 19:50:44 +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
73e4eb8627 #360 JPEG-LOSSLESS/jpeg-lossless now part of format names. 2017-12-19 19:52:25 +01:00
Harald Kuhr
6b966a2d4f Removed an unchecked cast. 2017-11-05 09:58:27 +01:00
Harald Kuhr
97cd8a955f #326: Support for JFIF JPEG with non-spec 8 bit grayscale thumbnail. 2017-02-27 20:58:23 +01:00
Harald Kuhr
a86b76256b #204 TIFF metadata refactor 2016-12-12 22:28:22 +01:00
Harald Kuhr
7a0660c4d7 #297 JPEGLossless no supports AC tables only image + multiple tables images 2016-12-12 22:10:02 +01:00
Harald Kuhr
18705be7f6 #294 Fixed regression, reading JPEGs containing strange APPn markers without identifier string 2016-11-20 20:11:22 +01:00
Harald Kuhr
ab13084f44 #292 Preparing for Java 9 compatibility + general clean-up 2016-11-15 21:40:59 +01:00
Harald Kuhr
afd8b28617 #182: Added more test files or better coverage. 2016-09-28 13:01:07 +02:00
Harald Kuhr
7ac1589186 #182 Fixed bug in JFXXThumbnailReaderTest 2016-09-09 13:59:03 +02:00
Harald Kuhr
673f3e5b53 #182 Massive refactorings to clean up metadata and segment handling 2016-09-09 13:59:03 +02:00
Harald Kuhr
15ce9d6b64 #182 Clean up after merge of #215 2016-09-09 13:59:03 +02:00
Harald Kuhr
13bea23550 #276 Fix DHT inconsistency 2016-08-09 11:47:25 +02:00
Harald Kuhr
c18893184b #228: TIFFImageWriter now correctly writes images with sample model translation. 2016-07-07 15:27:08 +02:00
Harald Kuhr
478ed62cd1 Refactoring, pulling assertRGBEquals method up. 2016-06-30 14:15:29 +02:00
Harald Kuhr
054499b78a #269: Hopefully fix CI build again. :-) 2016-06-28 18:30:30 +02:00
Harald Kuhr
b0eb668ed4 #269: Fixed an issue with CMYK colors as CMYK being off. 2016-06-28 18:18:15 +02:00
Harald Kuhr
9a6096664e #266: Fix NPE for empty streams. 2016-06-23 13:26:58 +02:00
Harald Kuhr
e9388e55ec #260 ProviderInfo fix 2016-06-02 11:24:57 +02:00
Harald Kuhr
e957120480 TMI #169 NullPointerException when reading JPEG image 2015-08-25 12:12:10 +02:00
Harald Kuhr
bbaa3e1186 TMI-140: JPEG with corrupted ICC profile (new kind) can now be read. 2015-05-28 23:01:51 +02:00
Harald Kuhr
051a1dcb5b Preparing JPEGImageReader for extension. 2015-04-30 10:20:35 +02:00
Harald Kuhr
e603ae260d TMI-64: Test case clean-up 2015-04-10 11:06:50 +02:00
Harald Kuhr
d303918d87 Code clean-up. 2015-04-08 13:38:15 +02:00
Harald Kuhr
d2d7569a7f TMI-115: Now downsamples and replaces 16 bit DQTs with 8 bit variants. 2015-03-23 10:28:58 +01:00
Harald Kuhr
c4630d9eee TMI-121: Fixed regression, introduced by filtering out Adobe/APP14 segments completely. Now makes sure the segments have the "expected" length 16, and anything after that is discarded. 2015-03-21 16:47:15 +01:00
Harald Kuhr
26475eb004 TMI-40: Fixed subsampling offset bug (and removed the slow, stepwise reading + simplified the code, at the cost of higher memory consumption). 2015-03-19 23:38:14 +01:00
Harald Kuhr
406ae28da7 TMI-120: Fix IIOOBE when file has no image. Will throw exceptions when trying to read or get metadata. 2015-03-19 21:57:03 +01:00
Harald Kuhr
11f33741d4 TMI-119: Fixed endless loop, trying to read 0 bytes at EOF caused by bogus segment lengths... 2015-03-19 21:30:37 +01:00
Harald Kuhr
3ef93b6758 TMI-113: And fixed tests for JPEGSegmentInputStream to pass, as we now filter out App14/Adobe. 2015-03-16 12:12:06 +01:00
Harald Kuhr
cd5b41be5b TMI-113: And the missing test resource. 2015-03-16 12:05:52 +01:00
Harald Kuhr
e8f207ef54 TMI-113: Worked around a rather nasty bug in com.sun.imageio.plugins.jpeg.AdobeMarkerSegment by filtering out all APP14/Adobe marker segments from the stream (and re-inserting to metadata later). 2015-03-16 12:02:31 +01:00