jdk/src/share/classes/javax/imageio/metadata/doc-files/gif_metadata.html
author ohair
Wed, 26 May 2010 20:28:04 -0700
changeset 5551 327690766109
parent 5506 202f599c92aa
child 14642 4e46ac7771b7
permissions -rw-r--r--
6956202: Fix a few missed rebranding issues, please contact lines etc. Reviewed-by: jjg, darcy, weijun
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>GIF 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
GIF 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
<a name="gif_stream_metadata_format">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
<center><h2>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
GIF Stream Metadata Format Specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
</h2></center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
The GIF stream metadata format encodes the information stored in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
per-file header, namely the file version, logical screen descriptor,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
and the global color table.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
The logical screen descriptor describes the overall width and height
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
of an animated file, as well as information about the color resolution
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
(number of bits per pixel) and pixel aspect ratio.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
The global color table contains a color lookup table that is used for
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
images that do not have their own local color table.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
<pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
&lt;!DOCTYPE "javax_imageio_gif_stream_1.0" [
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
  &lt;!ELEMENT "javax_imageio_gif_stream_1.0" (Version?, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    LogicalScreenDescriptor?, GlobalColorTable?)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    &lt;!ELEMENT "Version" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
      &lt;!-- The file version, either 87a or 89a --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
      &lt;!ATTLIST "Version" "value" ("87a" | "89a") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
        &lt;!-- The version string --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    &lt;!ELEMENT "LogicalScreenDescriptor" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
      &lt;!-- The logical screen descriptor, except for the global color table --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
      &lt;!ATTLIST "LogicalScreenDescriptor" "logicalScreenWidth" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        &lt;!-- The width in pixels of the whole picture --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
      &lt;!ATTLIST "LogicalScreenDescriptor" "logicalScreenHeight" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        &lt;!-- The height in pixels of the whole picture --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
      &lt;!ATTLIST "LogicalScreenDescriptor" "colorResolution" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        &lt;!-- The number of bits of color resolution, beteen 1 and 8 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        &lt;!-- Max value: 8 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
      &lt;!ATTLIST "LogicalScreenDescriptor" "pixelAspectRatio" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        &lt;!-- If 0, indicates square pixels, else W/H = (value + 16)/64 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
    &lt;!ELEMENT "GlobalColorTable" (ColorTableEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
      &lt;!-- The global color table --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
      &lt;!-- Min children: 2 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
      &lt;!-- Max children: 256 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
      &lt;!ATTLIST "GlobalColorTable" "sizeOfGlobalColorTable" ("2" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        "4" | "8" | "16" | "32" | "64" | "128" | "256") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
        &lt;!-- The number of entries in the global color table --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
      &lt;!ATTLIST "GlobalColorTable" "backgroundColorIndex" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        &lt;!-- The index of the color table entry to be used as a background --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
        &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
      &lt;!ATTLIST "GlobalColorTable" "sortFlag" ("TRUE" | "FALSE")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        &lt;!-- True if the global color table is sorted by frequency --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
      &lt;!ELEMENT "ColorTableEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        &lt;!-- A global color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        &lt;!ATTLIST "ColorTableEntry" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
          &lt;!-- The index of the color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        &lt;!ATTLIST "ColorTableEntry" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
          &lt;!-- The red value for the color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        &lt;!ATTLIST "ColorTableEntry" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
          &lt;!-- The green value for the color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
        &lt;!ATTLIST "ColorTableEntry" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
          &lt;!-- The blue value for the color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
]&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
</pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
<a name="gif_image_metadata_format">
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
<center><h2>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
GIF Image Metadata Format Specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
</h2></center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
The GIF image metadata format encodes the image descriptor, local
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
color table, and extension information assciated with a single image
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
within a GIF file, typically a frame of an animation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
The image description contains the offset of the frame within the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
logical screen described in the stream metadata, as well as the width
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
and height of the frame and whether it is used interlaced encoding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
The local color table, if present, supersedes the global color table
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
for the frame at hand.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
The graphic control extension contains information on how the frame is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
to be incorporated into the animation.  The disposal method indicates
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
whether the current frame should remain in place
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
(<code>doNotDispose</code>), be restored to the backgound color as
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
specified in the stream metadata
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
(<code>restoreToBackgroundColor</code>), or be restored to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
previous frame contents (<code>restoreToPrevious</code>) prior to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
displaying the subsequent frame.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
The user input flag indicates whether the animation should pause for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
user input before advancing to the next frame.  The transparent color
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
flag and index indicate a color index for which pixels of the frame
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
should not be drawn.  The delay time indicates how long the frame
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
should be displayed, in hundredths of a second.  If the user input
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
flag is set and the delay time is 0, the frame is intended to be
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
advanced only on user input.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
<pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
&lt;!DOCTYPE "javax_imageio_gif_image_1.0" [
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
  &lt;!ELEMENT "javax_imageio_gif_image_1.0" (ImageDescriptor?, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
    LocalColorTable?, GraphicControlExtension?, PlainTextExtension?, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    ApplicationExtensions?, CommentExtensions?)&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    &lt;!ELEMENT "ImageDescriptor" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
      &lt;!-- The image descriptor --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
      &lt;!ATTLIST "ImageDescriptor" "imageLeftPosition" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
        &lt;!-- The X offset of the image relative to the screen origin --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
      &lt;!ATTLIST "ImageDescriptor" "imageTopPosition" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        &lt;!-- The Y offset of the image relative to the screen origin --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
      &lt;!ATTLIST "ImageDescriptor" "imageWidth" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
        &lt;!-- The width of the image --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
      &lt;!ATTLIST "ImageDescriptor" "imageHeight" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        &lt;!-- The height of the image --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
      &lt;!ATTLIST "ImageDescriptor" "interlaceFlag" ("TRUE" | "FALSE")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
        &lt;!-- True if the image is stored using interlacing --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
    &lt;!ELEMENT "LocalColorTable" (ColorTableEntry)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
      &lt;!-- The local color table --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
      &lt;!-- Min children: 2 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
      &lt;!-- Max children: 256 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
      &lt;!ATTLIST "LocalColorTable" "sizeOfLocalColorTable" ("2" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        "4" | "8" | "16" | "32" | "64" | "128" | "256") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        &lt;!-- The number of entries in the local color table --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
      &lt;!ATTLIST "LocalColorTable" "sortFlag" ("TRUE" | "FALSE")
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        &lt;!-- True if the local color table is sorted by frequency --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
      &lt;!ELEMENT "ColorTableEntry" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        &lt;!-- A local color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        &lt;!ATTLIST "ColorTableEntry" "index" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
          &lt;!-- The index of the color table entry --&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: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        &lt;!ATTLIST "ColorTableEntry" "red" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
          &lt;!-- The red value for the color table entry --&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: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
        &lt;!ATTLIST "ColorTableEntry" "green" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
          &lt;!-- The green value for the color table entry --&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: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
        &lt;!ATTLIST "ColorTableEntry" "blue" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
          &lt;!-- The blue value for the color table entry --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
          &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
          &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
          &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
    &lt;!ELEMENT "GraphicControlExtension" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
      &lt;!-- A graphic control extension --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
      &lt;!ATTLIST "GraphicControlExtension" "disposalMethod" ("none" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
        "doNotDispose" | "restoreToBackgroundColor" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
        "restoreToPrevious" | "undefinedDisposalMethod4" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
        "undefinedDisposalMethod5" | "undefinedDisposalMethod6" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
        "undefinedDisposalMethod7") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
        &lt;!-- The disposal method for this frame --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
      &lt;!ATTLIST "GraphicControlExtension" "userInputFlag" ("TRUE" | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
        "FALSE") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        &lt;!-- True if the frame should be advanced based on user input --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
      &lt;!ATTLIST "GraphicControlExtension" "transparentColorFlag" (
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
        "TRUE" | "FALSE") #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
        &lt;!-- True if a transparent color exists --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
      &lt;!ATTLIST "GraphicControlExtension" "delayTime" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
        &lt;!-- The time to delay between frames, in hundredths of a second --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
      &lt;!ATTLIST "GraphicControlExtension" "transparentColorIndex"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
         #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
        &lt;!-- The transparent color, if transparentColorFlag is true --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
        &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
    &lt;!ELEMENT "PlainTextExtension" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
      &lt;!-- A plain text (text grid) extension --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
      &lt;!ATTLIST "PlainTextExtension" "textGridLeft" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
        &lt;!-- The X offset of the text grid --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
      &lt;!ATTLIST "PlainTextExtension" "textGridTop" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
        &lt;!-- The Y offset of the text grid --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
      &lt;!ATTLIST "PlainTextExtension" "textGridWidth" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
        &lt;!-- The number of columns in the text grid --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
      &lt;!ATTLIST "PlainTextExtension" "textGridHeight" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        &lt;!-- The number of rows in the text grid --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
      &lt;!ATTLIST "PlainTextExtension" "characterCellWidth" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
        &lt;!-- The width of a character cell --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
      &lt;!ATTLIST "PlainTextExtension" "characterCellHeight" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
        &lt;!-- The height of a character cell --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
        &lt;!-- Min value: 1 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
        &lt;!-- Max value: 65535 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
      &lt;!ATTLIST "PlainTextExtension" "textForegroundColor" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        &lt;!-- The text foreground color index --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
        &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
      &lt;!ATTLIST "PlainTextExtension" "textBackgroundColor" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
         #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
        &lt;!-- The text background color index --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
        &lt;!-- Data type: Integer --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
        &lt;!-- Min value: 0 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
        &lt;!-- Max value: 255 (inclusive) --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
    &lt;!ELEMENT "ApplicationExtensions" (ApplicationExtension)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
      &lt;!-- A set of application extensions --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
      &lt;!ELEMENT "ApplicationExtension" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
        &lt;!-- An application extension --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
        &lt;!-- User object: array of byte --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
        &lt;!-- Min length: 0 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
        &lt;!-- Max length: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
        &lt;!ATTLIST "ApplicationExtension" "applicationID" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
           #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
          &lt;!-- The application ID --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
        &lt;!ATTLIST "ApplicationExtension" "authenticationCode" #CDATA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
           #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
          &lt;!-- The authentication code --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
    &lt;!ELEMENT "CommentExtensions" (CommentExtension)*&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
      &lt;!-- A set of comments --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
      &lt;!-- Min children: 1 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
      &lt;!-- Max children: 2147483647 --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
      &lt;!ELEMENT "CommentExtension" EMPTY&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
        &lt;!-- A comment --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
        &lt;!ATTLIST "CommentExtension" "value" #CDATA #REQUIRED&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
          &lt;!-- The comment --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
          &lt;!-- Data type: String --&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
]&gt;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
</pre>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
<a name="mapping">
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
<center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
<table border=1>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
<caption><b>Mapping of Standard to GIF Native Stream Metadata</b></caption>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
<th>Standard Metadata Component</th>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
<th>GIF Native Stream Metadata Component</th>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
<td>/Chroma/Palette/PaletteEntry@index</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
<td>/GlobalColorTable/ColorTableEntry@index</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
<td>/Chroma/Palette/PaletteEntry@red</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
<td>/GlobalColorTable/ColorTableEntry@red</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
<td>/Chroma/Palette/PaletteEntry@green</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
<td>/GlobalColorTable/ColorTableEntry@green</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
<td>/Chroma/Palette/PaletteEntry@blue</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
<td>/GlobalColorTable/ColorTableEntry@blue</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
<td>/Chroma/BackgroundIndex@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
<td>/GlobalColorTable@backgroundColorIndex</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
<td>/Data/BitsPerSample@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
<td>/LogicalScreenDescriptor@colorResolution</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
<td>/Dimension/PixelAspectRatio@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
<td>/LogicalScreenDescriptor@pixelAspectRatio</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
<td>/Dimension/HorizontalScreenSize@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
<td>/LogicalScreenDescriptor@logicalScreenWidth</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
<td>/Dimension/VerticalScreenSize@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
<td>/LogicalScreenDescriptor@logicalScreenHeight</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
<td>/Document/FormatVersion@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
<td>/Version@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
</table>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
</center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
</p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
<center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
<table border=1>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
<caption><b>Mapping of Standard to GIF Native Image Metadata</b></caption>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
<th>Standard Metadata Component</th>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
<th>GIF Native Image Metadata Component</th>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
<td>/Chroma/Palette/PaletteEntry@index</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
<td>/LocalColorTable/ColorTableEntry@index</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
<td>/Chroma/Palette/PaletteEntry@red</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
<td>/LocalColorTable/ColorTableEntry@red</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
<td>/Chroma/Palette/PaletteEntry@green</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
<td>/LocalColorTable/ColorTableEntry@green</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
<td>/Chroma/Palette/PaletteEntry@blue</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
<td>/LocalColorTable/ColorTableEntry@blue</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
<td>/Dimension/HorizontalPixelOffset@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
<td>/ImageDescriptor@imageLeftPosition</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
<td>/Dimension/VerticalPixelOffset@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
<td>/ImageDescriptor@imageTopPosition</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
<td>/Text/TextEntry@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
<td>/CommentExtensions/CommentExtension@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
<tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
<td>/Transparency/TransparentIndex@value</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
<td>/GraphicControlExtension@transparentColorIndex
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
(/GraphicControlExtension@transparentColorFlag is also set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
"TRUE")</td>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
</tr>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
</table>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
</center>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
</html>