com.github.jaiimageio.plugins.pnm.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jai-imageio-core Show documentation
Show all versions of jai-imageio-core Show documentation
Java Advanced Imaging Image I/O Tools API core, but without the classes
involved with javax.media.jai dependencies, JPEG2000 or
codecLibJIIO, meaning that this library can be distributed under the
modified BSD license and should be GPL compatible.
The newest version!
Package containing the public classes used by the Sun PNM plug-in for
the Image I/O Framework.
Image Metadata
The XML schema for the native image metadata format is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Schema for PNM native image metadata format. -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://com.github.jaiimageio.plugins"
targetNamespace="http://com.github.jaiimageio.plugins">
<xsd:element name="com_sun_media_imageio_plugins_pnm_image_1.0">
<xsd:complexType>
<xsd:sequence>
<!-- The specific format name -->
<xsd:element name="FormatName">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PBM"/>
<xsd:enumeration value="PGM"/>
<xsd:enumeration value="PPM"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element> <!-- FormatName -->
<!-- The variant -->
<xsd:element name="Variant">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ASCII"/>
<xsd:enumeration value="RAWBITS"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element> <!-- Variant -->
<!-- Image width -->
<xsd:element name="Width" type="xsd:unsignedInt"/>
<!-- Image height -->
<xsd:element name="Height" type="xsd:unsignedInt"/>
<!-- The maximum sample value (PGM and PPM only) -->
<xsd:element name="MaximumSample" type="xsd:unsignedByte"
minOccurs="0"/>
<!-- Comment block(s) if present -->
<xsd:element name="Comment" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element> <!-- pnm_image_1.0 -->
</xsd:schema>
@since 1.0
© 2015 - 2024 Weber Informatics LLC | Privacy Policy