Commit Graph

321 Commits

Author SHA1 Message Date
Tyler 9c3cff04e4 Encountered issue where an SVGImageReader instance that was used to read
multiple SVG images was only returning the first image. This commit
includes a test case and a proposed fix.
2015-04-01 14:31:12 -07:00
Harald Kuhr 47a18c63d7 TMI-26: TIFF writer support with JPEG encoder 2015-03-30 14:21:36 +02:00
Harald Kuhr dfb7ad0fe2 TMI-26: TIFF writer support with (slow) LZW encoder. 2015-03-30 11:03:23 +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 b40d4dad17 New SPI info. 2015-03-20 15:35:26 +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 4839c61f5c TMI-106, TMI-118: PICT JDK 8 fix + cleanup 2015-03-19 14:49:52 +01:00
Harald Kuhr 1505aa651b TMI-26: TIFF write support sans LZW. 2015-03-18 21:46:04 +01:00
Harald Kuhr 82c6cce997 PSD header error message clean-up. 2015-03-16 15:11:59 +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
Harald Kuhr a0bd5034ab BMP-testcase from OpenJDK. 2015-03-12 21:16:16 +01:00
Harald Kuhr 217f4dc371 Minor clean-up. 2015-03-12 15:35:51 +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 aef7b8bfba TMI-116: Now tries to be lenient about bad interop IFDs. 2015-03-11 14:38:31 +01:00
Harald Kuhr 7b0414ce78 TMI-114: Fix for EXIFReader.readSubdirectories, no longer attempts to read linked IFD. 2015-03-10 18:02:40 +01:00
Harald Kuhr 841ce5d26e Minor optimization: Disable disk caching for ImageReader tests. 2015-03-10 16:06:11 +01:00
Harald Kuhr 7ad108ccba TMI-110: Fixed a possible OutOfMemoryError caused by invalid tags and lengths. 2015-03-10 10:07:05 +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 34efe84e5a Minor optimization. 2015-03-07 21:14:35 +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
Tyler d3e6d9a9cf TMI-98: PSDMetadata member visibility fix. 2015-02-26 23:33:57 -07: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 c3cafc63d8 TMI-98: Fix PSDMetadata to include layer info + Cleanup and other minor fixes. 2015-02-26 21:51:48 +01:00
Harald Kuhr 1cbfb1a074 Paths documentation. 2015-02-26 09:51:56 +01:00
Harald Kuhr 6d062cc49b Clean up + notes for ICC profile sanitizing. 2015-02-25 14:36:39 +01:00
Harald Kuhr 7354b1f8c7 Fixed possible NPEs in Metadata. 2015-02-12 16:17:02 +01:00
Harald Kuhr ecfcea98df TMI-92: Color conversion between embedded ICC profile and sRGB now correctly applied for common case. 2015-02-02 10:04:15 +01:00
Harald Kuhr 025021442f TMI-91: Some minor POM changes. 2015-01-29 12:13:40 +01:00
Harald Kuhr 94ed531fb2 TMI-41: Better handling of ICC Color Profiles. Now using different strategies to "sanitize" profiles, depending on the Color Management System in use. 2015-01-07 15:25:45 +01:00
Harald Kuhr f588d65565 TMI-41: Fix for CorbisRGB special handling testcase JDK 1.7+ 2015-01-06 12:45:54 +01:00
Harald Kuhr fa8a8be1e6 TMI-89: Test case 2015-01-03 16:04:17 +01:00
Harald Kuhr 1d2f7d678f TMI-89: Fix exception in LZWDecoder for TIFF with LZW strings longer than strip/tile width 2015-01-02 17:45:56 +01:00
Harald Kuhr 77e6600605 TMI-60: Support for clip paths in formats containing PSD resources 2014-12-16 11:38:24 +01:00