mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-27 00:00:02 -04:00
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
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
<!DOCTYPE com_sun_media_imageio_plugins_tiff_image_1.0 [
|
||||
<!ELEMENT com_sun_media_imageio_plugins_tiff_image_1.0 (TIFFIFD)*>
|
||||
|
||||
<!ELEMENT TIFFIFD (TIFFField | TIFFIFD)*>
|
||||
<!-- An IFD (directory) containing fields -->
|
||||
<!ATTLIST TIFFIFD "tagSets" CDATA #REQUIRED>
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFIFD "parentTagNumber" CDATA #IMPLIED>
|
||||
<!-- The tag number of the field pointing to this IFD -->
|
||||
<!-- Data type: Integer -->
|
||||
<!ATTLIST TIFFIFD "parentTagName" CDATA #IMPLIED>
|
||||
<!-- A mnemonic name for the field pointing to this IFD, if known
|
||||
-->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFField (TIFFBytes | TIFFAsciis | TIFFShorts | TIFFSShorts | TIFFLongs | TIFFSLongs | TIFFRationals | TIFFSRationals | TIFFFloats | TIFFDoubles | TIFFUndefined)>
|
||||
<!-- A field containing data -->
|
||||
<!ATTLIST TIFFField "number" CDATA #REQUIRED>
|
||||
<!-- The tag number asociated with the field -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFField "name" CDATA #IMPLIED>
|
||||
<!-- A mnemonic name associated with the field, if known -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFBytes (TIFFByte)*>
|
||||
<!-- A sequence of TIFFByte nodes -->
|
||||
|
||||
<!ELEMENT TIFFByte EMPTY>
|
||||
<!-- An integral value between 0 and 255 -->
|
||||
<!ATTLIST TIFFByte "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFByte "description" CDATA #IMPLIED>
|
||||
<!-- A description, if available -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFAsciis (TIFFAscii)*>
|
||||
<!-- A sequence of TIFFAscii nodes -->
|
||||
|
||||
<!ELEMENT TIFFAscii EMPTY>
|
||||
<!-- A String value -->
|
||||
<!ATTLIST TIFFAscii "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFShorts (TIFFShort)*>
|
||||
<!-- A sequence of TIFFShort nodes -->
|
||||
|
||||
<!ELEMENT TIFFShort EMPTY>
|
||||
<!-- An integral value between 0 and 65535 -->
|
||||
<!ATTLIST TIFFShort "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFShort "description" CDATA #IMPLIED>
|
||||
<!-- A description, if available -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFSShorts (TIFFSShort)*>
|
||||
<!-- A sequence of TIFFSShort nodes -->
|
||||
|
||||
<!ELEMENT TIFFSShort EMPTY>
|
||||
<!-- An integral value between -32768 and 32767 -->
|
||||
<!ATTLIST TIFFSShort "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFSShort "description" CDATA #IMPLIED>
|
||||
<!-- A description, if available -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFLongs (TIFFLong)*>
|
||||
<!-- A sequence of TIFFLong nodes -->
|
||||
|
||||
<!ELEMENT TIFFLong EMPTY>
|
||||
<!-- An integral value between 0 and 4294967295 -->
|
||||
<!ATTLIST TIFFLong "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFLong "description" CDATA #IMPLIED>
|
||||
<!-- A description, if available -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFSLongs (TIFFSLong)*>
|
||||
<!-- A sequence of TIFFSLong nodes -->
|
||||
|
||||
<!ELEMENT TIFFSLong EMPTY>
|
||||
<!-- An integral value between -2147483648 and 2147482647 -->
|
||||
<!ATTLIST TIFFSLong "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
<!ATTLIST TIFFSLong "description" CDATA #IMPLIED>
|
||||
<!-- A description, if available -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFRationals (TIFFRational)*>
|
||||
<!-- A sequence of TIFFRational nodes -->
|
||||
|
||||
<!ELEMENT TIFFRational EMPTY>
|
||||
<!-- A rational value consisting of an unsigned numerator and
|
||||
denominator -->
|
||||
<!ATTLIST TIFFRational "value" CDATA #IMPLIED>
|
||||
<!-- The numerator and denominator, separated by a slash -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFSRationals (TIFFSRational)*>
|
||||
<!-- A sequence of TIFFSRational nodes -->
|
||||
|
||||
<!ELEMENT TIFFSRational EMPTY>
|
||||
<!-- A rational value consisting of a signed numerator and
|
||||
denominator -->
|
||||
<!ATTLIST TIFFSRational "value" CDATA #IMPLIED>
|
||||
<!-- The numerator and denominator, separated by a slash -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFFloats (TIFFFloat)*>
|
||||
<!-- A sequence of TIFFFloat nodes -->
|
||||
|
||||
<!ELEMENT TIFFFloat EMPTY>
|
||||
<!-- A single-precision floating-point value -->
|
||||
<!ATTLIST TIFFFloat "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFDoubles (TIFFDouble)*>
|
||||
<!-- A sequence of TIFFDouble nodes -->
|
||||
|
||||
<!ELEMENT TIFFDouble EMPTY>
|
||||
<!-- A double-precision floating-point value -->
|
||||
<!ATTLIST TIFFDouble "value" CDATA #IMPLIED>
|
||||
<!-- The value -->
|
||||
<!-- Data type: String -->
|
||||
|
||||
<!ELEMENT TIFFUndefined EMPTY>
|
||||
<!-- Uninterpreted byte data -->
|
||||
<!ATTLIST TIFFUndefined "value" CDATA #IMPLIED>
|
||||
<!-- A list of comma-separated byte values -->
|
||||
<!-- Data type: String -->
|
||||
]>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE com_sun_media_imageio_plugins_tiff_stream_1.0 [
|
||||
<!ELEMENT com_sun_media_imageio_plugins_tiff_stream_1.0 (ByteOrder)>
|
||||
|
||||
<!ELEMENT ByteOrder EMPTY>
|
||||
<!-- The stream byte order -->
|
||||
<!ATTLIST ByteOrder "value" CDATA #REQUIRED>
|
||||
<!-- One of "BIG_ENDIAN" or "LITTLE_ENDIAN" -->
|
||||
<!-- Data type: String -->
|
||||
]>
|
||||
Reference in New Issue
Block a user