261 Commits

Author SHA1 Message Date
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
Harald Kuhr
cdc832623a TMI-METADATA: Minor clean-up, preparing for read/write of metadata.
Now uses proper constants for TIFF types.
2013-09-08 14:33:40 +02:00
Harald Kuhr
5531c863cf TMI-JPEG: Fixed typos in exception messages. 2013-09-08 14:27:08 +02:00
Harald Kuhr
10b95b225f TMI-CORE: Added comments/fixed typos no functional changes. 2013-09-08 14:23:13 +02:00
Harald Kuhr
f2ff00580a TMC-IOENC: Refactored Decoder to use ByteBuffer instead of byte[] for better readability/simpler code. 2013-09-08 13:39:13 +02:00
Harald Kuhr
4de927b657 TMI-META: Removed misleading TODO/comment 2013-07-15 09:39:13 +02:00
Harald Kuhr
de81723912 TMI-JPEG: Added license. 2013-06-27 10:20:32 +02:00
justwrote
0860db2166 mockito should be a test dependency 2013-06-21 12:07:49 +02:00
Harald Kuhr
37b223c29b TMI-TIFF: Added license. 2013-06-19 16:58:03 +02:00
Harald Kuhr
2433075578 TMI-JPEG: Removed experimental metadata code to avoid NPE. 2013-06-13 09:30:18 +02:00
Harald Kuhr
6ce9543c00 TMI-TIFF: Test case for CCITT decoding. 2013-06-12 21:57:09 +02:00
Harald Kuhr
ff3fbc8bd2 TMI-TIFF: Getting close to full baseline support!
- Added Modified Huffman decoding (needs a proper test image)
 - Improved predictor support (16/32 bpp)
 - Fixed handling of bogus RowsPerStrip
2013-06-12 21:54:28 +02:00
Harald Kuhr
a2effd7ba0 TMI-META: Added license. 2013-06-05 10:55:18 +02:00
Harald Kuhr
544d60dabb TMI-JPEG: Fixed ICC profile issue. Now applies profiles when it should.
Profiles with bad indexes are now ignored on read.
Added support for JPEG-LS SOF55 segment (no further JPEG-LS support)
Added class documentation.
2013-06-05 10:54:51 +02:00
Harald Kuhr
f8c40a3748 TMI-JPEG: Better CMYK to RGB algorithm 2013-06-05 10:49:37 +02:00
Harald Kuhr
0e628f6e4c TMI-CORE: Added empty ICC profile locations for Linux.
+ Better exception handling for missing profile locations.
2013-06-05 09:58:32 +02:00
Harald Kuhr
1d5cc6d266 TMI-JPEG: Refactorings for better separation. 2013-04-22 21:01:30 +02:00
Harald Kuhr
28d8796e54 TMI-JPEG: Simplified logic. 2013-04-22 21:00:33 +02:00
Harald Kuhr
0ffd7cacc4 TMI-ICNS: Added debug for sips command. 2013-04-22 11:08:29 +02:00
Harald Kuhr
b966254322 TMI-JPEG: More lenient segment parsing, now allows 0xFF padding between segments + fixed an NPE in JPEGImageReader if the parsing fails. 2013-04-19 16:17:01 +02:00
Harald Kuhr
61e01e3316 TMI-TIFF: Code clean-up. 2013-03-26 09:44:32 +01:00
Harald Kuhr
09444ab083 TMI-TIFF: Horizontal differencing predictor implementation as stream, for easier reading. 2013-03-26 09:42:49 +01:00
Harald Kuhr
0319a6f84c TMI-CORE: Minor UI bugfix 2013-02-27 12:07:34 +01:00
Harald Kuhr
df9f5734bd TMI-CORE: Improved zoom quality when zooming out. 2013-02-20 10:45:20 +01:00
Harald Kuhr
59e5c3b3fd TMI-TIFF: Fixed doc, removed todo. 2013-02-20 10:44:42 +01:00
Harald Kuhr
2764460db5 TMI-TIFF: Now supports YCbCr subsampled images with image/tile/strip width/height not a multiple of the x/y subsampling. More lenience for weird subsampling.
+ Some minor house-keeping with no functional change.
2013-02-19 22:02:15 +01:00
Harald Kuhr
c9809d0fa1 TMI-CORE: Added zoom in/out/actual to image display, moved background to submenu. 2013-02-19 13:02:45 +01:00
Harald Kuhr
cc604e650b TMI-TIFF: Added more constants + debugging code for field names + suppressed unwanted warnings. 2013-02-18 14:51:45 +01:00
Harald Kuhr
ed6223fcab TMI-CORE: Fixed a reappearing bug in the JDK7 code, should now work properly with "broken" ICC color profiles . 2013-02-15 12:52:56 +01:00
Harald Kuhr
f8369fb5b6 TMI-TIFF: Rolled back some breaking changes. 2013-02-15 12:34:36 +01:00
Harald Kuhr
94db6b4a6f TMI-TIFF: Simplified progress update. 2013-02-14 14:40:03 +01:00
Harald Kuhr
10f501e919 TMI-XXXX: Fixed a typo in the JPEG docs. 2013-02-14 14:14:43 +01:00
Harald Kuhr
9c8ad3cb74 TMI-TIFF: Added warning for unknown YCbCrPositioning values. 2013-02-14 12:53:22 +01:00
Harald Kuhr
42831ea65b TMI-TIFF: Now passes YCbCrPositioning to upsampler. Replaced magic value with constant. 2013-02-14 12:48:07 +01:00
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