1077 Commits

Author SHA1 Message Date
Harald Kuhr
1548523336 TMI-TIFF: Code clean-up. 2013-02-14 12:37:05 +01:00
Harald Kuhr
b3672be1d4 TMI-TIFF: Replaced JPEG test case with more light-weight file. 2013-02-14 12:31:00 +01:00
Harald Kuhr
3b15653a10 TMI-TIFF: Added support for premultiplied alpha (ExtraSamples == 1) + code clean-up. 2013-02-14 11:25:33 +01:00
Harald Kuhr
46b53a824c TMI-TIFF: Added type spec for CMYK+A separated images 2013-02-07 12:35:04 +01:00
Harald Kuhr
02063c809e TMI-TIFF: Added JPEG-compressed data to tests. 2013-02-06 17:02:51 +01:00
Harald Kuhr
8b9d5c7abc TMI-TIFF: Renamed "Old-style" JPEG constants, to discourage use.
Removed hardcoding of JFIF-stream for "Old-style" JPEG reading + cleaned up code.
Fixed a bug in getRawImageType for planar RGBA
2013-02-06 15:20:27 +01:00
Harald Kuhr
c394f8a4bc TMI-TIFF: Fixed bug in YCbCr reading. Implemented "old-style" JPEG reading for two test images. More work needed. 2013-02-06 11:20:42 +01:00
Harald Kuhr
fcd15a9e36 TMI-META: Now correctly reads/parses SOS marker segment. Slightly stricter checking of markers. 2013-02-06 10:44:49 +01:00
Harald Kuhr
41a08761ba TMI-TIFF: Removed leftover debug output. 2013-01-31 16:36:47 +01:00
Harald Kuhr
b834a32b01 TMI-TIFF: Minor bug introduced by testing.. 2013-01-31 16:35:37 +01:00
Harald Kuhr
f666610184 TMI-TIFF: New tag + fixed spelling for tag. 2013-01-31 15:40:08 +01:00
Harald Kuhr
47fbf473db TMI-TIFF: Implemented YCbCr reading. 2013-01-31 15:38:45 +01:00
Harald Kuhr
e68b3aa9e3 TMI-TIFF: Now uses String class instead of byte[], to avoid excessive array concatenation and copying. 2013-01-29 22:26:11 +01:00
Harald Kuhr
dd849aeea6 TMI-TIFF: Now uses subclasses instead of if-branching for LZW compatibility decoding. 2013-01-29 21:24:51 +01:00
Harald Kuhr
59b91918e0 TMI-TIFF: Fixed minor bug in type spec for ARGB images + implemented support for "old-style" (reversed) LZW compression from libtiff. 2013-01-29 21:01:46 +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
92690e1644 TMI-TIFF: More format support, more lenient TIFF (EXIF) parsing. 2012-06-21 17:05:33 +02:00
Harald Kuhr
381e229575 Added a comment. 2012-06-21 16:57:57 +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
7f2ad765cf TMI-XXX: Made the PSD XMP parser slightly more lenient. 2012-05-31 16:24:17 +02:00
Harald Kuhr
289be6ca12 TMI-TIFF: Added validation + tests for reading JPEG DQT needed for TIFF Compression JPEG. 2012-05-23 15:20:10 +02:00
Harald Kuhr
b8ff4af178 TMI-TIFF: Implemented workaround for a bug in ImageReader.getDestination() + added test case for ImageReaderBase. 2012-05-23 15:18:10 +02:00
Harald Kuhr
dd7be5ef11 TMI-TIFF: Added missing test resources. 2012-05-22 08:56:39 +02:00
Harald Kuhr
98361194ea TMI-TIFF: Initial commit. Major work in progress. :-) 2012-05-22 00:00:11 +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
ae87726974 Added test case. 2012-04-19 18:00:50 +02:00
Harald Kuhr
b9a1c5c2f4 TMI-20: Made the EXIFReader more lenient about bad directory entry count. 2012-04-19 17:53:28 +02:00
Harald Kuhr
7bcfd228b9 Documentation + fix for minor issue when quality could not be determined. 2012-04-19 17:51:19 +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
24db7e847c Added support for offset/length in ByteArrayImageInputStream. 2012-04-16 10:19:53 +02:00
Harald Kuhr
927723a472 Added support for offset/length in ByteArrayImageInputStream. 2012-04-16 10:19:15 +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
f940fed152 Added test case for 1-bit/monochrome. 2012-04-04 16:02:17 +02:00
Harald Kuhr
da9b94bdf3 Added test case for 64 color EHB (finally).
Rewrote EHB handling in CMAPChunk to fix bug.
Added test cases for 16 color indexed and 32 color indexed.
Removed obsolete test cases.
2012-04-03 16:58:04 +02:00
Harald Kuhr
bf4ad6265a Implemented huffman decompression and "big line" changes for PCHG chunk. 2012-04-03 16:55:46 +02:00
Harald Kuhr
13a4646ae4 Fixed a bug in the IFFImageWriter, caused by buffered data not being written to the stream. Adapter streams are now properly flushed/closed.
Test clean-up.
2012-04-02 14:25:28 +02:00
Harald Kuhr
36a05272a5 Added reader test case for IFF FORM type PBM.
Minor optimization in reading PBM data.
Clean-up.
2012-04-02 14:23:37 +02:00
Harald Kuhr
a99c337348 Known issue IFFImageWriter. 2012-03-30 17:09:47 +02:00
Harald Kuhr
93e57306d5 Support for decoding JPEG quality setting based on DQT tables. 2012-03-30 16:59:49 +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
7431065519 Fixed duped test data. 2012-03-30 16:53:26 +02:00
Harald Kuhr
de34ac7ede Now with source region/subsampling support also for multipalette. 2012-03-30 16:53:04 +02:00
Harald Kuhr
4463a00667 Added multi-palette support to IFFImageReader + minor clean-up. 2012-03-30 16:36:32 +02:00
Harald Kuhr
19ed19633c Fixed quote to more relevant part. :-) 2012-02-14 17:08:31 +01:00