blob: d6d4112cd0cf21926849018dc1eed7601b1fe848 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<html>
3<head>
4<!--
5Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
6DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7
8This code is free software; you can redistribute it and/or modify it
9under the terms of the GNU General Public License version 2 only, as
10published by the Free Software Foundation. Sun designates this
11particular file as subject to the "Classpath" exception as provided
12by Sun in the LICENSE file that accompanied this code.
13
14This code is distributed in the hope that it will be useful, but WITHOUT
15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17version 2 for more details (a copy is included in the LICENSE file that
18accompanied this code).
19
20You should have received a copy of the GNU General Public License version
212 along with this work; if not, write to the Free Software Foundation,
22Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23
24Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
25CA 95054 USA or visit www.sun.com if you need additional information or
26have any questions.
27-->
28
29<title>WBMP Metadata Format Specification</title>
30</head>
31
32<body>
33<center><h1>
34WBMP Metadata Format Specification
35</h1></center>
36
37The XML schema for the native image metadata format is as follows:
38
39<pre>
40&lt;?xml version="1.0" encoding="UTF-8"?&gt;
41&lt;!-- Schema for WBMP native image metadata format. --&gt;
42
43&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
44 xmlns="http://javax.imageio.plugins"
45 targetNamespace="http://javax.imageio.plugins"&gt;
46
47 &lt;!-- WBMP Schema 1.0 root element. --&gt;
48 &lt;xsd:element name="javax_imageio_wbmp_1.0"&gt;
49 &lt;xsd:sequence&gt;
50
51 &lt;!-- WBMP image type --&gt;
52 &lt;xsd:element name="WBMPType" type="xsd:unsignedInt"/&gt;
53
54 &lt;!-- Bitmap width --&gt;
55 &lt;xsd:element name="Width" type="xsd:unsignedInt"/&gt;
56
57 &lt;!-- Bitmap height --&gt;
58 &lt;xsd:element name="Height" type="xsd:unsignedInt"/&gt;
59
60 &lt;/xsd:sequence&gt;
61 &lt;/xsd:element&gt; &lt;!-- wbmp_image_1.0 --&gt;
62
63&lt;/xsd:schema&gt;
64</pre>
65
66@since 1.5
67
68</body>