Harald Kuhr
051a1dcb5b
Preparing JPEGImageReader for extension.
2015-04-30 10:20:35 +02:00
Harald Kuhr
037e0d5473
Clean up.
2015-04-10 11:23:38 +02:00
Harald Kuhr
2c90bcc49c
Added license to ProviderInfo classes + minor code clean up.
2015-04-07 11:23:14 +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
de9960f388
TMI-121: Clean up.
2015-03-22 14:26:09 +01:00
Harald Kuhr
3ce0a8594f
TMI-121: Clean up.
2015-03-22 14:25:29 +01:00
Harald Kuhr
449db69d27
TMI-121: Clean up.
2015-03-22 14:19:29 +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
87777dfc2d
New SPI info.
2015-03-20 15:54:41 +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
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
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
add6e07cae
TMI-74: Make JPEG segment parsing more lenient
2014-11-03 21:05: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
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