public final class ImageIOUtil extends Object
Modifier and Type | Field | Description |
---|---|---|
static Object |
IMAGEIO_METADATA |
Key for ImageInfo's custom objects to embed the ImageIO metadata
|
Modifier and Type | Method | 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 © 2018 Apache Software Foundation. All rights reserved.