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