src/java.desktop/share/classes/javax/imageio/metadata/doc-files/png_metadata.html
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 25859 jdk/src/java.desktop/share/classes/javax/imageio/metadata/doc-files/png_metadata.html@3317bb8137f4
child 48264 efda6932a433
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
<html>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
<head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
<!--
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     5
Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    10
published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    12
by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
5551
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    24
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    25
or visit www.oracle.com if you need additional information or have any
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    26
questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
<title>PNG Metadata Format Specification</title>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
</head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
<body bgcolor="white">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
<center><h1>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
PNG Metadata Format Specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
</h1></center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
The PNG native format encodes the complete contents of a PNG file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
chunk by chunk, except for the IDAT chunks that contain the actual
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
image data.  Chunks that are not defined in the PNG 1.2 specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
are stored under the <code>UnknownChunks</code> element.  Note that it
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
is the responsibility of application software to implement the rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
for PNG readers, writers, and editors (<i>e.g.</i>, the rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
concerning unsafe-to-copy chunks) described in the PNG specification.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
The Image I/O library is not, in and of itself, a PNG reader, writer,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
or editor in the sense of the specification.  Rather, it is a tool
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
that may be used to build PNG readers, writers, and editors.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
The image's actual width, height, bit depth, and color type will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
override any values passed to the writer via metadata, with one
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
exception.  If the image has an <code>IndexColorModel</code>, the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
color table entries will be checked to determine if they form a
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
uniform grayscale ramp. If so, the image will normally be encoded
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
using as grayscale instead of palette color.  However, if the color
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
type set in the metadata is "Palette", palette color will be used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
If no metadata is supplied when encoding an image, the header is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
initialized from the image being encoded, and no optional chunks are
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
included.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
The semantics of the standard chunks are described in the <A
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
HREF="http://www.libpng.org/pub/png/spec/">PNG specification</A>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
Note that there are some restrictions on which chunks may appear
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
for each color type. In particular,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
<ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
  <li>A <code>PLTE</code> chunk may not appear in a <code>Gray</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
or <code>GrayAlpha</code> image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
  <li><code>hIST</code> and <code>tRNS</code> chunks require a prior
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
<code>PLTE</code> chunk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
  <li>A <code>tRNS</code> chunk may not appear in
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
<code>GrayAlpha</code> and <code>RGBA</code> images
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
</ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
The child nodes of the <code>bKGD</code>, <code>sBIT</code>, and
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
<code>tRNS</code> chunks must match the image's color type.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
<p> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
Certain chunks may meaningfully appear multiple times in a PNG file,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
in particular the text-related chunks.  In order to simplify the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
metadata format, multiple instances of these chunks are consolidated
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
under a single parent node (<i>e.g.</i>, the <code>tEXt</code> node),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
which may have zero or more children (<i>e.g.</i>,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
<code>tEXtEntry</code> nodes).  If no children are present, no chunk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
will be written.  Similarly, unknown chunks are stored as children of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
a single <code>UnknownChunks</code> node.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
It is not possible to control the ordering of the chunks as they are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
written, or to determine the order of the chunks in a file being read.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
<pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
&lt;!DOCTYPE "javax_imageio_png_1.0" [
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
  &lt;!ELEMENT "javax_imageio_png_1.0" (IHDR?, PLTE?, bKGD?, cHRM?, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    gAMA?, hIST?, iCCP?, iTXt?, pHYS?, sBIT?, sPLT?, sRGB?, tEXt?, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    tIME?, tRNS?, zTXt?, UnknownChunks?)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    &lt;!ELEMENT "IHDR" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
      &lt;!-- The IHDR chunk, containing the header --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
      &lt;!ATTLIST "IHDR" "width" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        &lt;!-- The width of the image in pixels --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        &lt;!-- Max value: 2147483647 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
      &lt;!ATTLIST "IHDR" "height" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
        &lt;!-- The height of the image in pixels --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        &lt;!-- Max value: 2147483647 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
      &lt;!ATTLIST "IHDR" "bitDepth" ("1" | "2" | "4" | "8" | "16")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        &lt;!-- The bit depth of the image samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
      &lt;!ATTLIST "IHDR" "colorType" ("Grayscale" | "RGB" | "Palette" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        "GrayAlpha" | "RGBAlpha") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        &lt;!-- The color type of the image --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
      &lt;!ATTLIST "IHDR" "compressionMethod" ("deflate") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        &lt;!-- The compression used for image data, always "deflate" --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
      &lt;!ATTLIST "IHDR" "filterMethod" ("adaptive") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
        &lt;!-- The filtering method used for compression, always "adaptive" --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
      &lt;!ATTLIST "IHDR" "interlaceMethod" ("none" | "adam7") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
        &lt;!-- The interlacing method, "none" or "adam7" --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
    &lt;!ELEMENT "PLTE" (PLTEEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
      &lt;!-- The PLTE chunk, containing the palette --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
      &lt;!-- Max children: 256 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
      &lt;!ELEMENT "PLTEEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
        &lt;!-- A palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
        &lt;!ATTLIST "PLTEEntry" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
          &lt;!-- The index of a palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
        &lt;!ATTLIST "PLTEEntry" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
          &lt;!-- The red value of a palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        &lt;!ATTLIST "PLTEEntry" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
          &lt;!-- The green value of a palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        &lt;!ATTLIST "PLTEEntry" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
          &lt;!-- The blue value of a palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
    &lt;!ELEMENT "bKGD" (bKGD_Grayscale | bKGD_RGB | bKGD_Palette)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
      &lt;!-- The bKGD chunk, containing the background color --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
      &lt;!ELEMENT "bKGD_Grayscale" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        &lt;!-- A grayscale background color, for Gray and GrayAlpha images --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
        &lt;!ATTLIST "bKGD_Grayscale" "gray" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
          &lt;!-- A gray value to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
      &lt;!ELEMENT "bKGD_RGB" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
        &lt;!-- An RGB background color, for RGB and RGBAlpha images --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
        &lt;!ATTLIST "bKGD_RGB" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
          &lt;!-- A red value to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        &lt;!ATTLIST "bKGD_RGB" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
          &lt;!-- A green value to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
        &lt;!ATTLIST "bKGD_RGB" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
          &lt;!-- A blue value to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
      &lt;!ELEMENT "bKGD_Palette" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
        &lt;!-- A background palette index --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        &lt;!ATTLIST "bKGD_Palette" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
          &lt;!-- A palette index to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
    &lt;!ELEMENT "cHRM" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
      &lt;!-- The cHRM chunk, containing color calibration --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
      &lt;!ATTLIST "cHRM" "whitePointX" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        &lt;!-- The CIE x coordinate of the white point, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
      &lt;!ATTLIST "cHRM" "whitePointY" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        &lt;!-- The CIE y coordinate of the white point, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
      &lt;!ATTLIST "cHRM" "redX" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        &lt;!-- The CIE x coordinate of the red primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
      &lt;!ATTLIST "cHRM" "redY" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
        &lt;!-- The CIE y coordinate of the red primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
      &lt;!ATTLIST "cHRM" "greenX" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        &lt;!-- The CIE x coordinate of the green primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
      &lt;!ATTLIST "cHRM" "greenY" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
        &lt;!-- The CIE y coordinate of the green primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
      &lt;!ATTLIST "cHRM" "blueX" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
        &lt;!-- The CIE x coordinate of the blue primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
      &lt;!ATTLIST "cHRM" "blueY" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
        &lt;!-- The CIE y coordinate of the blue primary, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
    &lt;!ELEMENT "gAMA" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
      &lt;!-- The gAMA chunk, containing the image gamma --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
      &lt;!ATTLIST "gAMA" "value" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
        &lt;!-- The image gamma, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
        &lt;!-- Max value: 2147483647 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
    &lt;!ELEMENT "hIST" (hISTEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
      &lt;!-- The hIST chunk, containing histogram information  --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
      &lt;!-- Max children: 256 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
      &lt;!ELEMENT "hISTEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
        &lt;!-- A histogram entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        &lt;!ATTLIST "hISTEntry" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
          &lt;!-- The palette index of this histogram entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
        &lt;!ATTLIST "hISTEntry" "value" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
          &lt;!-- The frequency of this histogram entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
    &lt;!ELEMENT "iCCP" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
      &lt;!-- The iCCP chunk, containing an ICC color profile --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
      &lt;!-- User object: array of byte --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
      &lt;!-- Min length: 0 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
      &lt;!-- Max length: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
      &lt;!ATTLIST "iCCP" "profileName" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
        &lt;!-- The name of this ICC profile --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
        &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
      &lt;!ATTLIST "iCCP" "compressionMethod" ("deflate") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
        &lt;!-- The compression method used to store this ICC profile --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
    &lt;!ELEMENT "iTXt" (iTXtEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
      &lt;!-- The iTXt chunk, containing internationalized text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
      &lt;!ELEMENT "iTXtEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
        &lt;!-- A localized text entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
        &lt;!ATTLIST "iTXtEntry" "keyword" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
          &lt;!-- The keyword --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
        &lt;!ATTLIST "iTXtEntry" "compressionFlag" ("TRUE" | "FALSE")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
           #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        &lt;!ATTLIST "iTXtEntry" "compressionMethod" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
          &lt;!-- The compression method used to store this iTXt entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
        &lt;!ATTLIST "iTXtEntry" "languageTag" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
          &lt;!-- The ISO tag describing the language this iTXt entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
        &lt;!ATTLIST "iTXtEntry" "translatedKeyword" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
          &lt;!-- The translated keyword for iTXt entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
        &lt;!ATTLIST "iTXtEntry" "text" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
          &lt;!-- The localized text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
    &lt;!ELEMENT "pHYS" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
      &lt;!-- The pHYS chunk, containing the pixel size and aspect ratio --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
      &lt;!ATTLIST "pHYS" "pixelsPerUnitXAxis" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
        &lt;!-- The number of horizontal pixels per unit, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
        &lt;!-- Max value: 2147483647 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
      &lt;!ATTLIST "pHYS" "pixelsPerUnitYAxis" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
        &lt;!-- The number of vertical pixels per unit, multiplied by 1e5 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
        &lt;!-- Max value: 2147483647 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
      &lt;!ATTLIST "pHYS" "unitSpecifier" ("unknown" | "meter") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
        &lt;!-- The unit specifier for this chunk (i.e., meters) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
    &lt;!ELEMENT "sBIT" (sBIT_Grayscale | sBIT_GrayAlpha | sBIT_RGB | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
      sBIT_RGBAlpha | sBIT_Palette)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
      &lt;!-- The sBIT chunk, containing significant bit information --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
      &lt;!ELEMENT "sBIT_Grayscale" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
        &lt;!-- Significant bit information for gray samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
        &lt;!ATTLIST "sBIT_Grayscale" "gray" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
          &lt;!-- The number of significant bits of the gray samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
      &lt;!ELEMENT "sBIT_GrayAlpha" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
        &lt;!-- Significant bit information for gray and alpha samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
        &lt;!ATTLIST "sBIT_GrayAlpha" "gray" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
          &lt;!-- The number of significant bits of the gray samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
        &lt;!ATTLIST "sBIT_GrayAlpha" "alpha" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
          &lt;!-- The number of significant bits of the alpha samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
      &lt;!ELEMENT "sBIT_RGB" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
        &lt;!-- Significant bit information for RGB samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
        &lt;!ATTLIST "sBIT_RGB" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
          &lt;!-- The number of significant bits of the red samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
        &lt;!ATTLIST "sBIT_RGB" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
          &lt;!-- The number of significant bits of the green samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
        &lt;!ATTLIST "sBIT_RGB" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
          &lt;!-- The number of significant bits of the blue samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
      &lt;!ELEMENT "sBIT_RGBAlpha" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
        &lt;!-- Significant bit information for RGBA samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
        &lt;!ATTLIST "sBIT_RGBAlpha" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
          &lt;!-- The number of significant bits of the red samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
        &lt;!ATTLIST "sBIT_RGBAlpha" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
          &lt;!-- The number of significant bits of the green samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
        &lt;!ATTLIST "sBIT_RGBAlpha" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
          &lt;!-- The number of significant bits of the blue samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
        &lt;!ATTLIST "sBIT_RGBAlpha" "alpha" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
          &lt;!-- The number of significant bits of the alpha samples --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
      &lt;!ELEMENT "sBIT_Palette" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
        &lt;!-- Significant bit information for RGB palette entries --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
        &lt;!ATTLIST "sBIT_Palette" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
          &lt;!-- The number of significant bits of the red palette entries --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
        &lt;!ATTLIST "sBIT_Palette" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
          &lt;!-- The number of significant bits of the green palette entries --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
        &lt;!ATTLIST "sBIT_Palette" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
          &lt;!-- The number of significant bits of the blue palette entries --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
    &lt;!ELEMENT "sPLT" (sPLTEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
      &lt;!-- The sPLT chunk, containing a suggested palette --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
      &lt;!-- Max children: 256 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
      &lt;!ELEMENT "sPLTEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
        &lt;!-- A suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
        &lt;!ATTLIST "sPLTEntry" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
          &lt;!-- The index of a suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
        &lt;!ATTLIST "sPLTEntry" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
          &lt;!-- The red value of a suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
        &lt;!ATTLIST "sPLTEntry" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
          &lt;!-- The green value of a suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
        &lt;!ATTLIST "sPLTEntry" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
          &lt;!-- The blue value of a suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
        &lt;!ATTLIST "sPLTEntry" "alpha" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
          &lt;!-- The blue value of a suggested palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
    &lt;!ELEMENT "sRGB" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
      &lt;!-- The sRGB chunk, containing rendering intent information --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
      &lt;!ATTLIST "sRGB" "renderingIntent" ("Perceptual" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
        "Relative colorimetric" | "Saturation" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
        "Absolute colorimetric") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
        &lt;!-- The rendering intent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
    &lt;!ELEMENT "tEXt" (tEXtEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
      &lt;!-- The tEXt chunk, containing text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
      &lt;!ELEMENT "tEXtEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
        &lt;!-- A text entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
        &lt;!ATTLIST "tEXtEntry" "keyword" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
          &lt;!-- The keyword --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
        &lt;!ATTLIST "tEXtEntry" "value" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
          &lt;!-- The text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
    &lt;!ELEMENT "tIME" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
      &lt;!-- The tIME chunk, containing the image modification time --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
      &lt;!ATTLIST "tIME" "year" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
        &lt;!-- The year when the image was last modified --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
      &lt;!ATTLIST "tIME" "month" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
        &lt;!-- The month when the image was last modified, 1 = January --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
        &lt;!-- Max value: 12 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
      &lt;!ATTLIST "tIME" "day" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
        &lt;!-- The day of the month when the image was last modified --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
        &lt;!-- Max value: 31 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
      &lt;!ATTLIST "tIME" "hour" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
        &lt;!-- The hour when the image was last modified --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
        &lt;!-- Max value: 23 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
      &lt;!ATTLIST "tIME" "minute" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
        &lt;!-- The minute when the image was last modified --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
        &lt;!-- Max value: 59 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
      &lt;!ATTLIST "tIME" "second" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
        &lt;!-- The second when the image was last modified, 60 = leap second --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
        &lt;!-- Max value: 60 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
    &lt;!ELEMENT "tRNS" (tRNS_Grayscale | tRNS_RGB | tRNS_Palette)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
      &lt;!-- The tRNS chunk, containing transparency information --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
      &lt;!ELEMENT "tRNS_Grayscale" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
        &lt;!-- A grayscale value that should be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
        &lt;!ATTLIST "tRNS_Grayscale" "gray" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
          &lt;!-- The gray value to be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
      &lt;!ELEMENT "tRNS_RGB" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
        &lt;!-- An RGB value that should be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
        &lt;!ATTLIST "tRNS_RGB" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
          &lt;!-- The red value to be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
        &lt;!ATTLIST "tRNS_RGB" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
          &lt;!-- The green value to be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
        &lt;!ATTLIST "tRNS_RGB" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
          &lt;!-- The blure value to be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
          &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
      &lt;!ELEMENT "tRNS_Palette" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
        &lt;!-- A palette index that should be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
        &lt;!ATTLIST "tRNS_Palette" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
          &lt;!-- A palette index to be considered transparent --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
        &lt;!ATTLIST "tRNS_Palette" "alpha" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
          &lt;!-- The transparency associated with the palette entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
    &lt;!ELEMENT "zTXt" (zTXtEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
      &lt;!-- The zTXt chunk, containing compressed text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
      &lt;!ELEMENT "zTXtEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
        &lt;!-- A compressed text entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
        &lt;!-- User object: array of byte --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
        &lt;!-- Min length: 0 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
        &lt;!-- Max length: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
        &lt;!ATTLIST "zTXtEntry" "keyword" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
          &lt;!-- The keyword --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
        &lt;!ATTLIST "zTXtEntry" "compressionMethod" ("deflate")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
           #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
          &lt;!-- The compressed text --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
    &lt;!ELEMENT "UnknownChunks" (UnknownChunk)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
      &lt;!-- A set of unknown chunks --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
      &lt;!ELEMENT "UnknownChunk" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
        &lt;!-- Unknown chunk data stored as a byte array --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
        &lt;!-- User object: array of byte --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
        &lt;!-- Min length: 0 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
        &lt;!-- Max length: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
        &lt;!ATTLIST "UnknownChunk" "type" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
          &lt;!-- The 4-character type of the unknown chunk --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
]&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
</pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
</html>