< prev index next >

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

Print this page


   1 <!doctype html>
   2 <html lang="en">
   3 <head>
   4   <meta charset="utf-8"/>
   5   <title>Standard Metadata Format Specification</title>
   6 </head>
   7 <!--
   8 Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
   9 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  10 
  11 This code is free software; you can redistribute it and/or modify it
  12 under the terms of the GNU General Public License version 2 only, as
  13 published by the Free Software Foundation.  Oracle designates this
  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>Standard (Plug-in Neutral) Metadata Format Specification</h1>
  35 
  36 <p> The plug-in neutral "javax_imageio_1.0" format consists
  37 of a root node named "javax_imageio_1.0" which has child
  38 nodes "chroma", "compression", "dimension", "document", "text",
  39 "tile", and "transparency".  The format is described by the
  40 following DTD:
  41 
  42 <pre>
  43 &lt;!DOCTYPE "javax_imageio_1.0" [
  44 
  45   &lt;!ELEMENT "javax_imageio_1.0" (Chroma?, Compression?, Data?, Dimension?,
  46     Document?, Text?, Transparency?)&gt;
  47 
  48     &lt;!ELEMENT "Chroma" (ColorSpaceType?, NumChannels?, Gamma?,
  49       BlackIsZero?, Palette?, BackgroundIndex?, BackgroundColor?)&gt;
  50       &lt;!-- Chroma (color) information --&gt;
  51 
  52       &lt;!ELEMENT "ColorSpaceType" EMPTY&gt;
  53         &lt;!-- The raw color space of the image --&gt;


 377           &lt;!ATTLIST "TransparentTile" "x" #CDATA #REQUIRED&gt;
 378             &lt;!-- The tile's X index --&gt;
 379             &lt;!-- Data type: Integer --&gt;
 380           &lt;!ATTLIST "TransparentTile" "y" #CDATA #REQUIRED&gt;
 381             &lt;!-- The tile's Y index --&gt;
 382             &lt;!-- Data type: Integer --&gt;
 383 
 384       &lt;!ELEMENT "TileOpacities" (OpaqueTile)*&gt;
 385         &lt;!-- A list of completely opaque tiles --&gt;
 386 
 387         &lt;!ELEMENT "OpaqueTile" EMPTY&gt;
 388           &lt;!-- The index of a completely opaque tile --&gt;
 389           &lt;!ATTLIST "OpaqueTile" "x" #CDATA #REQUIRED&gt;
 390             &lt;!-- The tile's X index --&gt;
 391             &lt;!-- Data type: Integer --&gt;
 392           &lt;!ATTLIST "OpaqueTile" "y" #CDATA #REQUIRED&gt;
 393             &lt;!-- The tile's Y index --&gt;
 394             &lt;!-- Data type: Integer --&gt;
 395 ]&gt;
 396 </pre>

 397 </main>
 398 </body>
 399 </html>
   1 <!doctype html>
   2 <html lang="en">
   3 <head>
   4   <meta charset="utf-8"/>
   5   <title>Standard Metadata Format Specification</title>
   6 </head>
   7 <!--
   8 Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
   9 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  10 
  11 This code is free software; you can redistribute it and/or modify it
  12 under the terms of the GNU General Public License version 2 only, as
  13 published by the Free Software Foundation.  Oracle designates this
  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>Standard (Plug-in Neutral) Metadata Format Specification</h1>
  36 
  37 <p> The plug-in neutral "javax_imageio_1.0" format consists
  38 of a root node named "javax_imageio_1.0" which has child
  39 nodes "chroma", "compression", "dimension", "document", "text",
  40 "tile", and "transparency".  The format is described by the
  41 following DTD:
  42 
  43 <pre>
  44 &lt;!DOCTYPE "javax_imageio_1.0" [
  45 
  46   &lt;!ELEMENT "javax_imageio_1.0" (Chroma?, Compression?, Data?, Dimension?,
  47     Document?, Text?, Transparency?)&gt;
  48 
  49     &lt;!ELEMENT "Chroma" (ColorSpaceType?, NumChannels?, Gamma?,
  50       BlackIsZero?, Palette?, BackgroundIndex?, BackgroundColor?)&gt;
  51       &lt;!-- Chroma (color) information --&gt;
  52 
  53       &lt;!ELEMENT "ColorSpaceType" EMPTY&gt;
  54         &lt;!-- The raw color space of the image --&gt;


 378           &lt;!ATTLIST "TransparentTile" "x" #CDATA #REQUIRED&gt;
 379             &lt;!-- The tile's X index --&gt;
 380             &lt;!-- Data type: Integer --&gt;
 381           &lt;!ATTLIST "TransparentTile" "y" #CDATA #REQUIRED&gt;
 382             &lt;!-- The tile's Y index --&gt;
 383             &lt;!-- Data type: Integer --&gt;
 384 
 385       &lt;!ELEMENT "TileOpacities" (OpaqueTile)*&gt;
 386         &lt;!-- A list of completely opaque tiles --&gt;
 387 
 388         &lt;!ELEMENT "OpaqueTile" EMPTY&gt;
 389           &lt;!-- The index of a completely opaque tile --&gt;
 390           &lt;!ATTLIST "OpaqueTile" "x" #CDATA #REQUIRED&gt;
 391             &lt;!-- The tile's X index --&gt;
 392             &lt;!-- Data type: Integer --&gt;
 393           &lt;!ATTLIST "OpaqueTile" "y" #CDATA #REQUIRED&gt;
 394             &lt;!-- The tile's Y index --&gt;
 395             &lt;!-- Data type: Integer --&gt;
 396 ]&gt;
 397 </pre>
 398 </div>
 399 </main>
 400 </body>
 401 </html>
< prev index next >