Commit Graph

62 Commits

Author SHA1 Message Date
Harald Kuhr 7430d0053a Merge pull request #45 from ankon/imageio-jpeg-test-null
Avoid NPE when the expected tree is indeed null
2014-03-20 17:57:37 +01:00
Andreas Kohn f4ba4e081e Remove unneeded @SuppressWarnings("unchecked") 2014-03-17 12:20:04 +01:00
Andreas Kohn 9bb7b62987 Avoid NPE when the expected tree is indeed null 2014-03-17 12:19:41 +01:00
Harald Kuhr c3c23d0523 TMI-43: Made tests a little more robust to void false positives. 2014-03-03 20:29:58 +01:00
Harald Kuhr e3bab84e82 TMI-39: Cleanup after merge. 2014-03-02 23:10:20 +01:00
Harald Kuhr d607450ae4 Merge pull request #39 from escenic/upstream
JPEGImageReader throws "IllegalStateException: sourceRegion.height <= subsamplingYOffset!"
2014-03-02 22:15:06 +01:00
Harald Kuhr 037a47ca2a TMI-38: Fixed a bug in the getSourceCS method, that incorrectly identified non-subsampled JFIF files, as RGB instead of YCbCr. 2014-03-02 22:08:26 +01:00
Rune Bremnes 822bea80b6 Fix reading jpeg images where last scanline is higher than the y
source subsampling offset.
2014-02-24 14:32:05 +01:00
Rune Bremnes e924fcefc0 Added failing testcase for JPEGImageReader. 2014-02-24 14:31:57 +01:00
Harald Kuhr a26f8e5851 TMI-32: Cleanup after merge. Removed filter + code style changes. 2014-02-06 23:15:40 +01:00
Harald Kuhr b49fd7b653 TMI-32: Cleanup after merge. Removed filter + code style changes. 2014-02-06 23:14:08 +01:00
Harald Kuhr 9fa1d97389 TMI-32: Cleanup after merge. Removed filter + code style changes. 2014-02-06 23:09:01 +01:00
Harald Kuhr 7c012323e5 Merge pull request #32 from rtimpe/master
Support registration of JPEG plugins when the classloader can't find sun plugins
2014-02-06 23:02:43 +01:00
Harald Kuhr db259bff10 TMI-34: Handling of problematic Corbis RGB ICC profiles. 2014-02-06 22:45:35 +01:00
Rob Timpe 1e42cf1499 Return immediately when the right sun jpeg plugin is found. 2014-01-28 13:32:46 -08:00
Robert Timpe bb4e77406a Support registration of JPEG plugins when the classloader can't find sun plugins.
In some situations, the classloader may not be able to find the sun jpeg plugins
even if they are registered.  In this case, we can still find the sun plugins by
iterating over all the registered plugins.
2014-01-24 20:29:34 +00:00
Harald Kuhr ce87171026 TMI-JPEG-22: Fixed issue with trash 0x00 padding in JPEG. 2013-12-16 18:08:39 +01:00
Harald Kuhr 2d42b58814 TMI-JPEG: Test case for the XDensity out of range issue. Reader no longer attempts to read Exif thumbnails of length 0. 2013-11-20 20:11:39 +01:00
Harald Kuhr 38fa2189bc TMI-IIO: Removed some deprecation warnings. 2013-11-05 20:24:12 +01:00
Harald Kuhr c491c8a518 TMI-JPEG: Fixed issue with wrong class name for writer and reader spi. 2013-11-05 15:40:14 +01:00
Harald Kuhr f5a4fe03f4 TMI-15: Fixed some issues introduced in later JREs (at least 7u45). 2013-11-05 09:43:46 +01:00
Harald Kuhr 5508137c5c TMI-JPEG-4: Code clean up 2013-10-30 13:49:23 +01:00
Harald Kuhr ae58b859e4 TMI-JPEG-4: Fixed issue related to X/Y density out of range. 2013-10-25 17:09:20 +02:00
Harald Kuhr d7958fc8a7 TMI-JPEG-4: Clean up 2013-10-23 16:37:11 +02:00
Harald Kuhr ca48837e11 TMI-JPEG-4: Moved metadata cleaning to separate class.
Better class name welcome... ;-)
2013-10-23 14:56:01 +02:00
Harald Kuhr b14363da3b TMI-JPEG-4: Now does a pretty decent job at glossing over metadata issues. 2013-10-21 19:31:04 +02:00
Harald Kuhr c8061eb0c4 TMI-JPEG: Regression fix for NPE in metadata if delegate returns null metadata. 2013-09-28 12:32:01 +02:00
Harald Kuhr 086357694a TMI-JPEG-10: Fixed an issue with JPEGs without JFIF segment being treated as RGB, even when YCbCr. 2013-09-19 09:25:59 +02:00
Harald Kuhr 0ff99afe6d TMI-JPEG: Now does a better effort to gloss over metadata issues in underlying stream. 2013-09-08 14:43:05 +02:00
Harald Kuhr 5531c863cf TMI-JPEG: Fixed typos in exception messages. 2013-09-08 14:27:08 +02:00
Harald Kuhr 2433075578 TMI-JPEG: Removed experimental metadata code to avoid NPE. 2013-06-13 09:30:18 +02:00
Harald Kuhr 544d60dabb TMI-JPEG: Fixed ICC profile issue. Now applies profiles when it should.
Profiles with bad indexes are now ignored on read.
Added support for JPEG-LS SOF55 segment (no further JPEG-LS support)
Added class documentation.
2013-06-05 10:54:51 +02:00
Harald Kuhr f8c40a3748 TMI-JPEG: Better CMYK to RGB algorithm 2013-06-05 10:49:37 +02:00
Harald Kuhr 1d5cc6d266 TMI-JPEG: Refactorings for better separation. 2013-04-22 21:01:30 +02:00
Harald Kuhr 28d8796e54 TMI-JPEG: Simplified logic. 2013-04-22 21:00:33 +02:00
Harald Kuhr b966254322 TMI-JPEG: More lenient segment parsing, now allows 0xFF padding between segments + fixed an NPE in JPEGImageReader if the parsing fails. 2013-04-19 16:17:01 +02:00
Harald Kuhr f666610184 TMI-TIFF: New tag + fixed spelling for tag. 2013-01-31 15:40:08 +01:00
Harald Kuhr 6c082353d6 TMI-22: Cleaned up reading of ICC profile, trying to be more lenient about chunk count/chunk index. 2012-06-22 09:57:02 +02:00
Harald Kuhr 73a880a358 TMI-23: Better handling of SOS segment (variable length). Now treats the rest of the stream after SOS as single segment. Not really ideal, but gives better performance than scanning for EOI... 2012-06-21 16:08:03 +02:00
Harald Kuhr c2245a503d TMI-22: Changed IIOException to warning for images with single chunk ICC_PROFILE with bad index/count. 2012-06-21 16:03:59 +02:00
Harald Kuhr a4dfb7a009 TMI-21: Implemented getRawImageType and getImageTypes for CMYK/YCCK.
TMI-16: Refactorings, cleaner color space determination + tests for thumbnail readers.
2012-05-07 20:26:26 +02:00
Harald Kuhr aaef2e4fad TMI-16: Clean-up of thumbnail reading. Removed obsolete code. 2012-05-02 11:59:14 +02:00
Harald Kuhr 241c1882f4 TMI-16: Refactorings. Moved segment classes to upper level. Extracted thumbnail reading to separate classes. 2012-04-24 20:11:04 +02:00
Harald Kuhr 465eb2ecb3 Removed a couple of todos (now done). 2012-04-17 12:28:27 +02:00
Harald Kuhr 0bdb68ea6f TMI-19: Fix for broken JFIF raw RGB thumbnails 2012-04-16 22:55:32 +02:00
Harald Kuhr c16ffaca13 TMI-18: Fix for images/thumbnails get inverted colors. 2012-04-16 22:53:17 +02:00
Harald Kuhr 2f07329296 TMI-18: Better filtering of APP segments, now only takes 'Exif' APP1 segments into account.
+ Updated failing test.
2012-04-15 22:10:20 +02:00
Harald Kuhr 08b5891298 TMI-18: Preliminary fix for images get inverted colors. 2012-04-13 10:56:26 +02:00
Harald Kuhr 0307237852 Better writer tests.
Fixed a bug in PICTWriter.
Minor changes in ImageReader/WriterBase classes.
2012-03-30 16:58:09 +02:00
Harald Kuhr e3dcca854b Minor fix to the SOFn recognition + better warnings. 2012-02-07 13:05:49 +01:00