public final class ImageIOUtil
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.Object |
IMAGEIO_METADATA |
Key for ImageInfo's custom objects to embed the ImageIO metadata
|
Modifier and Type | Method | Description |
---|---|---|
static void |
dumpMetadataToSystemOut(javax.imageio.metadata.IIOMetadata iiometa) |
Dumps the content of an IIOMetadata instance to System.out.
|
static void |
extractResolution(javax.imageio.metadata.IIOMetadata iiometa,
ImageSize size) |
Extracts the resolution information from the standard ImageIO metadata.
|
static org.w3c.dom.Element |
getChild(org.w3c.dom.Element el,
java.lang.String name) |
Returns a child element of another element or null if there's no such child.
|
public static final java.lang.Object IMAGEIO_METADATA
public static void extractResolution(javax.imageio.metadata.IIOMetadata iiometa, ImageSize size)
iiometa
- the metadata provided by ImageIOsize
- the image size objectpublic static org.w3c.dom.Element getChild(org.w3c.dom.Element el, java.lang.String name)
el
- the parent elementname
- the name of the requested childpublic static void dumpMetadataToSystemOut(javax.imageio.metadata.IIOMetadata iiometa)
iiometa
- the metadataCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.