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
HermannKroll
ad269053ed
add support for JPEG Lossless
...
JPEG Lossless files which are supported
https://github.com/rii-mango/JPEGLosslessDecoder can be read.
Careful: currently only supports
16, 8-bit grayscale and 24 bit rgb conversion for BufferedImages
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
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
8a38b2fde6
#173 Support for PhotometricInterpretation 8/CIELab, 9/ICCLab and 10/ITULab
2015-10-22 21:35:10 +02:00
Harald Kuhr
e957120480
TMI #169 NullPointerException when reading JPEG image
2015-08-25 12:12:10 +02:00
Harald Kuhr
d7c8df184e
TMI-JPEG: Reading inverted Adobe JPEGs
2015-07-13 12:28:27 +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
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