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.
This commit is contained in:
Harald Kuhr
2013-06-05 10:54:51 +02:00
parent f8c40a3748
commit 544d60dabb
4 changed files with 118 additions and 25 deletions

View File

@@ -82,6 +82,10 @@ public interface JPEG {
int SOF14 = 0xFFCE;
int SOF15 = 0xFFCF;
// JPEG-LS markers
int SOF55 = 0xFFF7; // NOTE: Equal to a normal SOF segment
int LSE = 0xFFF8; // JPEG-LS Preset Parameter marker
// TODO: Known/Important APPn marker identifiers
// "JFIF" APP0
// "JFXX" APP0