0N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/A<html>
0N/A<head>
0N/A<!--
2362N/ACopyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
0N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A
0N/AThis code is free software; you can redistribute it and/or modify it
0N/Aunder the terms of the GNU General Public License version 2 only, as
2362N/Apublished by the Free Software Foundation. Oracle designates this
0N/Aparticular file as subject to the "Classpath" exception as provided
2362N/Aby Oracle in the LICENSE file that accompanied this code.
0N/A
0N/AThis code is distributed in the hope that it will be useful, but WITHOUT
0N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/Aversion 2 for more details (a copy is included in the LICENSE file that
0N/Aaccompanied this code).
0N/A
0N/AYou should have received a copy of the GNU General Public License version
0N/A2 along with this work; if not, write to the Free Software Foundation,
0N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A
2365N/APlease contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2365N/Aor visit www.oracle.com if you need additional information or have any
2365N/Aquestions.
0N/A-->
0N/A
0N/A<title>PNG Metadata Format Specification</title>
0N/A</head>
0N/A
0N/A<body bgcolor="white">
0N/A
0N/A<center><h1>
0N/APNG Metadata Format Specification
0N/A</h1></center>
0N/A
0N/A<p>
0N/A
0N/AThe PNG native format encodes the complete contents of a PNG file
0N/Achunk by chunk, except for the IDAT chunks that contain the actual
0N/Aimage data. Chunks that are not defined in the PNG 1.2 specification
0N/Aare stored under the <code>UnknownChunks</code> element. Note that it
0N/Ais the responsibility of application software to implement the rules
0N/Afor PNG readers, writers, and editors (<i>e.g.</i>, the rules
0N/Aconcerning unsafe-to-copy chunks) described in the PNG specification.
0N/AThe Image I/O library is not, in and of itself, a PNG reader, writer,
0N/Aor editor in the sense of the specification. Rather, it is a tool
0N/Athat may be used to build PNG readers, writers, and editors.
0N/A
0N/A<p>
0N/A
0N/AThe image's actual width, height, bit depth, and color type will
0N/Aoverride any values passed to the writer via metadata, with one
0N/Aexception. If the image has an <code>IndexColorModel</code>, the
0N/Acolor table entries will be checked to determine if they form a
0N/Auniform grayscale ramp. If so, the image will normally be encoded
0N/Ausing as grayscale instead of palette color. However, if the color
0N/Atype set in the metadata is "Palette", palette color will be used.
0N/A
0N/A<p>
0N/A
0N/AIf no metadata is supplied when encoding an image, the header is
0N/Ainitialized from the image being encoded, and no optional chunks are
0N/Aincluded.
0N/A
0N/A<p>
0N/A
0N/AThe semantics of the standard chunks are described in the <A
0N/AHREF="http://www.libpng.org/pub/png/spec/">PNG specification</A>.
0N/ANote that there are some restrictions on which chunks may appear
0N/Afor each color type. In particular,
0N/A
0N/A<ul>
0N/A <li>A <code>PLTE</code> chunk may not appear in a <code>Gray</code>
0N/Aor <code>GrayAlpha</code> image
0N/A
0N/A <li><code>hIST</code> and <code>tRNS</code> chunks require a prior
0N/A<code>PLTE</code> chunk
0N/A
0N/A <li>A <code>tRNS</code> chunk may not appear in
0N/A<code>GrayAlpha</code> and <code>RGBA</code> images
0N/A</ul>
0N/A
0N/AThe child nodes of the <code>bKGD</code>, <code>sBIT</code>, and
0N/A<code>tRNS</code> chunks must match the image's color type.
0N/A
0N/A<p>
0N/A
0N/ACertain chunks may meaningfully appear multiple times in a PNG file,
0N/Ain particular the text-related chunks. In order to simplify the
0N/Ametadata format, multiple instances of these chunks are consolidated
0N/Aunder a single parent node (<i>e.g.</i>, the <code>tEXt</code> node),
0N/Awhich may have zero or more children (<i>e.g.</i>,
0N/A<code>tEXtEntry</code> nodes). If no children are present, no chunk
0N/Awill be written. Similarly, unknown chunks are stored as children of
0N/Aa single <code>UnknownChunks</code> node.
0N/A
0N/A<p>
0N/A
0N/AIt is not possible to control the ordering of the chunks as they are
0N/Awritten, or to determine the order of the chunks in a file being read.
0N/A
0N/A<pre>
0N/A&lt;!DOCTYPE "javax_imageio_png_1.0" [
0N/A
0N/A &lt;!ELEMENT "javax_imageio_png_1.0" (IHDR?, PLTE?, bKGD?, cHRM?,
0N/A gAMA?, hIST?, iCCP?, iTXt?, pHYS?, sBIT?, sPLT?, sRGB?, tEXt?,
0N/A tIME?, tRNS?, zTXt?, UnknownChunks?)&gt;
0N/A
0N/A &lt;!ELEMENT "IHDR" EMPTY&gt;
0N/A &lt;!-- The IHDR chunk, containing the header --&gt;
0N/A &lt;!ATTLIST "IHDR" "width" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The width of the image in pixels --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 1 (inclusive) --&gt;
0N/A &lt;!-- Max value: 2147483647 (inclusive) --&gt;
0N/A &lt;!ATTLIST "IHDR" "height" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The height of the image in pixels --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 1 (inclusive) --&gt;
0N/A &lt;!-- Max value: 2147483647 (inclusive) --&gt;
0N/A &lt;!ATTLIST "IHDR" "bitDepth" ("1" | "2" | "4" | "8" | "16")
0N/A #REQUIRED&gt;
0N/A &lt;!-- The bit depth of the image samples --&gt;
0N/A &lt;!ATTLIST "IHDR" "colorType" ("Grayscale" | "RGB" | "Palette" |
0N/A "GrayAlpha" | "RGBAlpha") #REQUIRED&gt;
0N/A &lt;!-- The color type of the image --&gt;
0N/A &lt;!ATTLIST "IHDR" "compressionMethod" ("deflate") #REQUIRED&gt;
0N/A &lt;!-- The compression used for image data, always "deflate" --&gt;
0N/A &lt;!ATTLIST "IHDR" "filterMethod" ("adaptive") #REQUIRED&gt;
0N/A &lt;!-- The filtering method used for compression, always "adaptive" --&gt;
0N/A &lt;!ATTLIST "IHDR" "interlaceMethod" ("none" | "adam7") #REQUIRED&gt;
0N/A &lt;!-- The interlacing method, "none" or "adam7" --&gt;
0N/A
0N/A &lt;!ELEMENT "PLTE" (PLTEEntry)*&gt;
0N/A &lt;!-- The PLTE chunk, containing the palette --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 256 --&gt;
0N/A
0N/A &lt;!ELEMENT "PLTEEntry" EMPTY&gt;
0N/A &lt;!-- A palette entry --&gt;
0N/A &lt;!ATTLIST "PLTEEntry" "index" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The index of a palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "PLTEEntry" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The red value of a palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "PLTEEntry" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The green value of a palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "PLTEEntry" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The blue value of a palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "bKGD" (bKGD_Grayscale | bKGD_RGB | bKGD_Palette)&gt;
0N/A &lt;!-- The bKGD chunk, containing the background color --&gt;
0N/A
0N/A &lt;!ELEMENT "bKGD_Grayscale" EMPTY&gt;
0N/A &lt;!-- A grayscale background color, for Gray and GrayAlpha images --&gt;
0N/A &lt;!ATTLIST "bKGD_Grayscale" "gray" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A gray value to be used as a background --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "bKGD_RGB" EMPTY&gt;
0N/A &lt;!-- An RGB background color, for RGB and RGBAlpha images --&gt;
0N/A &lt;!ATTLIST "bKGD_RGB" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A red value to be used as a background --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "bKGD_RGB" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A green value to be used as a background --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "bKGD_RGB" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A blue value to be used as a background --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "bKGD_Palette" EMPTY&gt;
0N/A &lt;!-- A background palette index --&gt;
0N/A &lt;!ATTLIST "bKGD_Palette" "index" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A palette index to be used as a background --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "cHRM" EMPTY&gt;
0N/A &lt;!-- The cHRM chunk, containing color calibration --&gt;
0N/A &lt;!ATTLIST "cHRM" "whitePointX" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE x coordinate of the white point, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "whitePointY" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE y coordinate of the white point, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "redX" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE x coordinate of the red primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "redY" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE y coordinate of the red primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "greenX" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE x coordinate of the green primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "greenY" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE y coordinate of the green primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "blueX" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE x coordinate of the blue primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "cHRM" "blueY" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The CIE y coordinate of the blue primary, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "gAMA" EMPTY&gt;
0N/A &lt;!-- The gAMA chunk, containing the image gamma --&gt;
0N/A &lt;!ATTLIST "gAMA" "value" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The image gamma, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 2147483647 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "hIST" (hISTEntry)*&gt;
0N/A &lt;!-- The hIST chunk, containing histogram information --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 256 --&gt;
0N/A
0N/A &lt;!ELEMENT "hISTEntry" EMPTY&gt;
0N/A &lt;!-- A histogram entry --&gt;
0N/A &lt;!ATTLIST "hISTEntry" "index" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The palette index of this histogram entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "hISTEntry" "value" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The frequency of this histogram entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "iCCP" EMPTY&gt;
0N/A &lt;!-- The iCCP chunk, containing an ICC color profile --&gt;
0N/A &lt;!-- User object: array of byte --&gt;
0N/A &lt;!-- Min length: 0 --&gt;
0N/A &lt;!-- Max length: 2147483647 --&gt;
0N/A &lt;!ATTLIST "iCCP" "profileName" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The name of this ICC profile --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "iCCP" "compressionMethod" ("deflate") #REQUIRED&gt;
0N/A &lt;!-- The compression method used to store this ICC profile --&gt;
0N/A
0N/A &lt;!ELEMENT "iTXt" (iTXtEntry)*&gt;
0N/A &lt;!-- The iTXt chunk, containing internationalized text --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 2147483647 --&gt;
0N/A
0N/A &lt;!ELEMENT "iTXtEntry" EMPTY&gt;
0N/A &lt;!-- A localized text entry --&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "keyword" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The keyword --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "compressionFlag" ("TRUE" | "FALSE")
0N/A #REQUIRED&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "compressionMethod" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The compression method used to store this iTXt entry --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "languageTag" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The ISO tag describing the language this iTXt entry --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "translatedKeyword" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The translated keyword for iTXt entry --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "iTXtEntry" "text" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The localized text --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A
0N/A &lt;!ELEMENT "pHYS" EMPTY&gt;
0N/A &lt;!-- The pHYS chunk, containing the pixel size and aspect ratio --&gt;
0N/A &lt;!ATTLIST "pHYS" "pixelsPerUnitXAxis" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of horizontal pixels per unit, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 2147483647 (inclusive) --&gt;
0N/A &lt;!ATTLIST "pHYS" "pixelsPerUnitYAxis" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of vertical pixels per unit, multiplied by 1e5 --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 2147483647 (inclusive) --&gt;
0N/A &lt;!ATTLIST "pHYS" "unitSpecifier" ("unknown" | "meter") #REQUIRED&gt;
0N/A &lt;!-- The unit specifier for this chunk (i.e., meters) --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT" (sBIT_Grayscale | sBIT_GrayAlpha | sBIT_RGB |
0N/A sBIT_RGBAlpha | sBIT_Palette)&gt;
0N/A &lt;!-- The sBIT chunk, containing significant bit information --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT_Grayscale" EMPTY&gt;
0N/A &lt;!-- Significant bit information for gray samples --&gt;
0N/A &lt;!ATTLIST "sBIT_Grayscale" "gray" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the gray samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT_GrayAlpha" EMPTY&gt;
0N/A &lt;!-- Significant bit information for gray and alpha samples --&gt;
0N/A &lt;!ATTLIST "sBIT_GrayAlpha" "gray" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the gray samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_GrayAlpha" "alpha" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the alpha samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT_RGB" EMPTY&gt;
0N/A &lt;!-- Significant bit information for RGB samples --&gt;
0N/A &lt;!ATTLIST "sBIT_RGB" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the red samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_RGB" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the green samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_RGB" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the blue samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT_RGBAlpha" EMPTY&gt;
0N/A &lt;!-- Significant bit information for RGBA samples --&gt;
0N/A &lt;!ATTLIST "sBIT_RGBAlpha" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the red samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_RGBAlpha" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the green samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_RGBAlpha" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the blue samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_RGBAlpha" "alpha" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the alpha samples --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sBIT_Palette" EMPTY&gt;
0N/A &lt;!-- Significant bit information for RGB palette entries --&gt;
0N/A &lt;!ATTLIST "sBIT_Palette" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the red palette entries --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_Palette" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the green palette entries --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sBIT_Palette" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The number of significant bits of the blue palette entries --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sPLT" (sPLTEntry)*&gt;
0N/A &lt;!-- The sPLT chunk, containing a suggested palette --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 256 --&gt;
0N/A
0N/A &lt;!ELEMENT "sPLTEntry" EMPTY&gt;
0N/A &lt;!-- A suggested palette entry --&gt;
0N/A &lt;!ATTLIST "sPLTEntry" "index" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The index of a suggested palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sPLTEntry" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The red value of a suggested palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sPLTEntry" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The green value of a suggested palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sPLTEntry" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The blue value of a suggested palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "sPLTEntry" "alpha" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The blue value of a suggested palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "sRGB" EMPTY&gt;
0N/A &lt;!-- The sRGB chunk, containing rendering intent information --&gt;
0N/A &lt;!ATTLIST "sRGB" "renderingIntent" ("Perceptual" |
0N/A "Relative colorimetric" | "Saturation" |
0N/A "Absolute colorimetric") #REQUIRED&gt;
0N/A &lt;!-- The rendering intent --&gt;
0N/A
0N/A &lt;!ELEMENT "tEXt" (tEXtEntry)*&gt;
0N/A &lt;!-- The tEXt chunk, containing text --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 2147483647 --&gt;
0N/A
0N/A &lt;!ELEMENT "tEXtEntry" EMPTY&gt;
0N/A &lt;!-- A text entry --&gt;
0N/A &lt;!ATTLIST "tEXtEntry" "keyword" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The keyword --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "tEXtEntry" "value" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The text --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A
0N/A &lt;!ELEMENT "tIME" EMPTY&gt;
0N/A &lt;!-- The tIME chunk, containing the image modification time --&gt;
0N/A &lt;!ATTLIST "tIME" "year" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The year when the image was last modified --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tIME" "month" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The month when the image was last modified, 1 = January --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 1 (inclusive) --&gt;
0N/A &lt;!-- Max value: 12 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tIME" "day" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The day of the month when the image was last modified --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 1 (inclusive) --&gt;
0N/A &lt;!-- Max value: 31 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tIME" "hour" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The hour when the image was last modified --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 23 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tIME" "minute" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The minute when the image was last modified --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 59 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tIME" "second" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The second when the image was last modified, 60 = leap second --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 60 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "tRNS" (tRNS_Grayscale | tRNS_RGB | tRNS_Palette)&gt;
0N/A &lt;!-- The tRNS chunk, containing transparency information --&gt;
0N/A
0N/A &lt;!ELEMENT "tRNS_Grayscale" EMPTY&gt;
0N/A &lt;!-- A grayscale value that should be considered transparent --&gt;
0N/A &lt;!ATTLIST "tRNS_Grayscale" "gray" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The gray value to be considered transparent --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "tRNS_RGB" EMPTY&gt;
0N/A &lt;!-- An RGB value that should be considered transparent --&gt;
0N/A &lt;!ATTLIST "tRNS_RGB" "red" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The red value to be considered transparent --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tRNS_RGB" "green" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The green value to be considered transparent --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tRNS_RGB" "blue" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The blure value to be considered transparent --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 65535 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "tRNS_Palette" EMPTY&gt;
0N/A &lt;!-- A palette index that should be considered transparent --&gt;
0N/A &lt;!ATTLIST "tRNS_Palette" "index" #CDATA #REQUIRED&gt;
0N/A &lt;!-- A palette index to be considered transparent --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A &lt;!ATTLIST "tRNS_Palette" "alpha" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The transparency associated with the palette entry --&gt;
0N/A &lt;!-- Data type: Integer --&gt;
0N/A &lt;!-- Min value: 0 (inclusive) --&gt;
0N/A &lt;!-- Max value: 255 (inclusive) --&gt;
0N/A
0N/A &lt;!ELEMENT "zTXt" (zTXtEntry)*&gt;
0N/A &lt;!-- The zTXt chunk, containing compressed text --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 2147483647 --&gt;
0N/A
0N/A &lt;!ELEMENT "zTXtEntry" EMPTY&gt;
0N/A &lt;!-- A compressed text entry --&gt;
0N/A &lt;!-- User object: array of byte --&gt;
0N/A &lt;!-- Min length: 0 --&gt;
0N/A &lt;!-- Max length: 2147483647 --&gt;
0N/A &lt;!ATTLIST "zTXtEntry" "keyword" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The keyword --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A &lt;!ATTLIST "zTXtEntry" "compressionMethod" ("deflate")
0N/A #REQUIRED&gt;
0N/A &lt;!-- The compressed text --&gt;
0N/A
0N/A &lt;!ELEMENT "UnknownChunks" (UnknownChunk)*&gt;
0N/A &lt;!-- A set of unknown chunks --&gt;
0N/A &lt;!-- Min children: 1 --&gt;
0N/A &lt;!-- Max children: 2147483647 --&gt;
0N/A
0N/A &lt;!ELEMENT "UnknownChunk" EMPTY&gt;
0N/A &lt;!-- Unknown chunk data stored as a byte array --&gt;
0N/A &lt;!-- User object: array of byte --&gt;
0N/A &lt;!-- Min length: 0 --&gt;
0N/A &lt;!-- Max length: 2147483647 --&gt;
0N/A &lt;!ATTLIST "UnknownChunk" "type" #CDATA #REQUIRED&gt;
0N/A &lt;!-- The 4-character type of the unknown chunk --&gt;
0N/A &lt;!-- Data type: String --&gt;
0N/A]&gt;
0N/A</pre>
0N/A
0N/A</body>
0N/A</html>