< prev index next >

src/java.desktop/share/classes/javax/imageio/metadata/doc-files/gif_metadata.html

Print this page




  14 particular file as subject to the "Classpath" exception as provided
  15 by Oracle in the LICENSE file that accompanied this code.
  16 
  17 This code is distributed in the hope that it will be useful, but WITHOUT
  18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  19 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  20 version 2 for more details (a copy is included in the LICENSE file that
  21 accompanied this code).
  22 
  23 You should have received a copy of the GNU General Public License version
  24 2 along with this work; if not, write to the Free Software Foundation,
  25 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  26 
  27 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  28 or visit www.oracle.com if you need additional information or have any
  29 questions.
  30 -->
  31 
  32 <body>
  33 <main role="main">

  34 <h1>GIF Metadata Format Specification</h1>
  35 <a id="gif_stream_metadata_format"></a>
  36 <h2>GIF Stream Metadata Format Specification</h2>
  37 
  38 <p>
  39 
  40 The GIF stream metadata format encodes the information stored in the
  41 per-file header, namely the file version, logical screen descriptor,
  42 and the global color table.
  43 
  44 <p>
  45 
  46 The logical screen descriptor describes the overall width and height
  47 of an animated file, as well as information about the color resolution
  48 (number of bits per pixel) and pixel aspect ratio.
  49 
  50 <p>
  51 
  52 The global color table contains a color lookup table that is used for
  53 images that do not have their own local color table.


 445 </tr>
 446 <tr>
 447 <th scope="row">6</th>
 448 <td>/Dimension/VerticalPixelOffset@value</td>
 449 <td>/ImageDescriptor@imageTopPosition</td>
 450 </tr>
 451 <tr>
 452 <th scope="row">7</th>
 453 <td>/Text/TextEntry@value</td>
 454 <td>/CommentExtensions/CommentExtension@value</td>
 455 </tr>
 456 <tr>
 457 <th scope="row">8</th>
 458 <td>/Transparency/TransparentIndex@value</td>
 459 <td>/GraphicControlExtension@transparentColorIndex
 460 (/GraphicControlExtension@transparentColorFlag is also set to
 461 "TRUE")</td>
 462 </tr>
 463 </tbody>
 464 </table>

 465 </main>
 466 </body>
 467 </html>


  14 particular file as subject to the "Classpath" exception as provided
  15 by Oracle in the LICENSE file that accompanied this code.
  16 
  17 This code is distributed in the hope that it will be useful, but WITHOUT
  18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  19 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  20 version 2 for more details (a copy is included in the LICENSE file that
  21 accompanied this code).
  22 
  23 You should have received a copy of the GNU General Public License version
  24 2 along with this work; if not, write to the Free Software Foundation,
  25 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  26 
  27 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  28 or visit www.oracle.com if you need additional information or have any
  29 questions.
  30 -->
  31 
  32 <body>
  33 <main role="main">
  34 <div class="contentContainer">
  35 <h1>GIF Metadata Format Specification</h1>
  36 <a id="gif_stream_metadata_format"></a>
  37 <h2>GIF Stream Metadata Format Specification</h2>
  38 
  39 <p>
  40 
  41 The GIF stream metadata format encodes the information stored in the
  42 per-file header, namely the file version, logical screen descriptor,
  43 and the global color table.
  44 
  45 <p>
  46 
  47 The logical screen descriptor describes the overall width and height
  48 of an animated file, as well as information about the color resolution
  49 (number of bits per pixel) and pixel aspect ratio.
  50 
  51 <p>
  52 
  53 The global color table contains a color lookup table that is used for
  54 images that do not have their own local color table.


 446 </tr>
 447 <tr>
 448 <th scope="row">6</th>
 449 <td>/Dimension/VerticalPixelOffset@value</td>
 450 <td>/ImageDescriptor@imageTopPosition</td>
 451 </tr>
 452 <tr>
 453 <th scope="row">7</th>
 454 <td>/Text/TextEntry@value</td>
 455 <td>/CommentExtensions/CommentExtension@value</td>
 456 </tr>
 457 <tr>
 458 <th scope="row">8</th>
 459 <td>/Transparency/TransparentIndex@value</td>
 460 <td>/GraphicControlExtension@transparentColorIndex
 461 (/GraphicControlExtension@transparentColorFlag is also set to
 462 "TRUE")</td>
 463 </tr>
 464 </tbody>
 465 </table>
 466 </div>
 467 </main>
 468 </body>
 469 </html>
< prev index next >