站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JavaTM 2 Platform Standard Edition 5.0 API 规范中文版

WBMP Metadata Format Specification - JavaTM 2 Platform Standard Edition 5.0 API 规范中文版

WBMP Metadata Format Specification

The XML schema for the native image metadata format is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Schema for WBMP native image metadata format. -->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns="http://javax.imageio.plugins"
            targetNamespace="http://javax.imageio.plugins">

  <!-- WBMP Schema 1.0 root element. -->
  <xsd:element name="javax_imageio_wbmp_1.0">
    <xsd:sequence>

      <!-- WBMP image type -->
      <xsd:element name="WBMPType" type="xsd:unsignedInt"/>

      <!-- Bitmap width -->
      <xsd:element name="Width" type="xsd:unsignedInt"/>

      <!-- Bitmap height -->
      <xsd:element name="Height" type="xsd:unsignedInt"/>

     </xsd:sequence>
  </xsd:element> <!-- wbmp_image_1.0 -->

</xsd:schema>
@since 1.5