239 Commits

Author SHA1 Message Date
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
Harald Kuhr
02a4277413 TMI-117: Fix for "componentId attribute out of range" issue. 2015-03-12 12:55:55 +01:00
Harald Kuhr
493edada59 TMI-112: Now ignoring (removing) empty DHT node in metadata. 2015-03-11 19:55:28 +01:00
Harald Kuhr
032b2d9601 TMI-107: Better fix, with test case on stream level. JPEGSegmentImageInputStream now recovers from EOFException while parsing segments. 2015-03-09 12:49:40 +01:00
Harald Kuhr
2b2dd2fb40 TMI-107: JPEGSegmentImageInputStream now recovers from EOFException while parsing segments. 2015-03-07 21:41:38 +01:00
Harald Kuhr
5fb091b992 TMI-107, TMI-109: And another test case covering both 107 and 109. 2015-03-07 13:21:26 +01:00
Harald Kuhr
1df74ae9e9 TMI-109: Added test cases. 2015-03-07 12:20:47 +01:00
Harald Kuhr
5a0c596040 TMI-109: Fixed more possible NPEs because of missing SOF. Now throws IIOException immediately, if SOF is not found. 2015-03-07 12:00:52 +01:00
Harald Kuhr
37d4c03548 TMI-104: Fixed metadata inconsistency, 1 channel SOF now always interpreted as color space Gray, regardless of Adobe App14 marker. 2015-03-03 14:44:24 +01:00
Harald Kuhr
d6f90b0b52 TMI-105: Handle (ignore) empty JFIF segment without throwing EOFException. 2015-03-03 09:09:40 +01:00
Harald Kuhr
5b95f57066 TMI-101, 102 & 103: Now better handles broken data (throws IIOException) and better detects bogus Adobe markers. 2015-03-02 10:29:19 +01:00
Harald Kuhr
1f99040927 TMI-101, 102 & 103: Now better handles broken data (throws IIOException) and better detects bogus Adobe markers. 2015-03-02 10:24:21 +01:00
Harald Kuhr
34cd913216 TMI-99: JPEGImageReader does not ignore incorrect color RGB profile for CMYK data 2015-02-26 21:52:16 +01:00
Harald Kuhr
654f7e7a70 TMI-81: Support for 32 bit unsigned int color model.
Bonus: Cleaned up creation of ImageTypeSpecifiers and added tests.
2014-11-20 15:57:36 +01:00
Harald Kuhr
3be918e375 TMI-74: Make JPEG segment parsing more lenient (missing file). 2014-11-03 21:16:07 +01:00
Harald Kuhr
add6e07cae TMI-74: Make JPEG segment parsing more lenient 2014-11-03 21:05:58 +01:00
Harald Kuhr
6dd68dd54e [maven-release-plugin] prepare for next development iteration 2014-10-01 11:21:42 +02:00
Harald Kuhr
d054ee9bb1 [maven-release-plugin] prepare release twelvemonkeys-3.0 2014-10-01 11:21:34 +02:00
Harald Kuhr
845944b25f [maven-release-plugin] prepare for next development iteration 2014-10-01 10:32:30 +02:00
Harald Kuhr
d12f9bdbbd [maven-release-plugin] prepare release twelvemonkeys-3.0-rc7 2014-10-01 10:32:23 +02:00
Harald Kuhr
3e9820bb22 Prepare for new development 2014-10-01 10:25:34 +02:00
Harald Kuhr
2098e6a898 [maven-release-plugin] prepare release twelvemonkeys-3.0-rc6 2014-10-01 10:19:06 +02:00
Harald Kuhr
feb20eefdd [maven-release-plugin] prepare for next development iteration 2014-09-30 12:48:20 +02:00
Harald Kuhr
6977e52059 [maven-release-plugin] prepare release twelvemonkeys-3.0-rc6 2014-09-30 12:48:12 +02:00
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
Trygve Laugstøl
0ab9294004 [maven-release-plugin] prepare for next development iteration 2014-02-15 13:14:41 +01:00
Trygve Laugstøl
ed5a5e0dca [maven-release-plugin] prepare release twelvemonkeys-3.0-rc5 2014-02-15 13:13:39 +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