490 Commits

Author SHA1 Message Date
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
00f47e81a4 TMI-XXX: New code style + minor housekeeping changes. 2013-01-31 15:41:59 +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
8c4f9d3ed6 TMI-XXX: More leniency 2013-01-31 14:49:27 +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
Shihab Uddin
d6e508662c Merge branch 'master' of https://github.com/haraldk/TwelveMonkeys 2012-09-26 11:17:30 +02:00
Harald Kuhr
7846f497af TMS: Moving old junk to sandbox. 2012-09-25 14:50:47 +02: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
9ef8ac9930 Removed obsolete methods. 2012-06-21 16:59:04 +02:00
Harald Kuhr
7260c5baea Removed obsolete methods. 2012-06-21 16:58:33 +02:00
Harald Kuhr
381e229575 Added a comment. 2012-06-21 16:57:57 +02:00
Harald Kuhr
80d2f4ad89 Added test case.
Clean up + new methods.
2012-06-21 16:57:10 +02:00
Harald Kuhr
b0c2b4886f Added test case. No changes. 2012-06-21 16:56:25 +02:00
Harald Kuhr
14869fb591 Clean up: No functional changes. 2012-06-21 16:54:11 +02:00
Harald Kuhr
f7b7b91fba Updated sandbox pom. 2012-06-21 16:53:06 +02:00
Harald Kuhr
5c9a3e8e58 Added test case. Fixed some minor issues. 2012-06-21 16:52:30 +02:00
Harald Kuhr
2cbdd7fd82 Clean up: Moving obsolete stuff to sandbox. 2012-06-21 16:37:27 +02:00
Harald Kuhr
5bac1e3a2b Removed some synchronized keywords weirdness. 2012-06-21 16:36:25 +02:00
Harald Kuhr
0d83ab5483 Minor clean-up & doc changes. 2012-06-21 16:34:11 +02:00
Harald Kuhr
0aad4cb77a Clean up: Moved test code from main method to test case. 2012-06-21 16:29:04 +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
75c09d3aef Now sets Vary header. Minor code clean up & fixes. 2012-06-21 10:55:14 +02:00
Harald Kuhr
4db12d313b Added init param annotation. 2012-06-21 10:50:45 +02:00
Harald Kuhr
3095422a44 Fixed code style. 2012-06-21 10:49:39 +02:00
Harald Kuhr
d84acbf4b3 A servlet for serving static files 2012-06-21 10:45:06 +02:00
Harald Kuhr
c7f6dedaa7 ContextListener for web app-local IIO providers. 2012-06-21 10:44:53 +02:00
Harald Kuhr
37e9adcfec Fixed a bug in the MappedFileBuffer + added test case for exposing the bug. 2012-06-01 14:42:48 +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
9492ed67f1 Minor enhancements to the Decoder API + tests. 2012-05-21 23:56:47 +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