| java.lang.Object com.sun.media.imageioimpl.plugins.jpeg2000.Box com.sun.media.imageioimpl.plugins.jpeg2000.ResolutionBox
ResolutionBox | public class ResolutionBox extends Box (Code) | | This class is defined to represent a Resolution Box of JPEG JP2
file format. A Data Entry URL Box has a length, and a fixed type
of "resc" (capture resolution) or "resd" (default display resolution).
Its contens includes the resolution numerators, denominator, and the
exponents for both horizontal and vertical directions.
|
Constructor Summary | |
public | ResolutionBox(int type, byte[] data) Constructs a ResolutionBox from the provided type and
content data array. | public | ResolutionBox(int type, float hRes, float vRes) Constructs a ResolutionBox from the provided type and
horizontal/vertical resolutions. | public | ResolutionBox(Node node) Constructs a ResolutionBox based on the provided
org.w3c.dom.Node . |
ResolutionBox | public ResolutionBox(int type, byte[] data)(Code) | | Constructs a ResolutionBox from the provided type and
content data array.
|
ResolutionBox | public ResolutionBox(int type, float hRes, float vRes)(Code) | | Constructs a ResolutionBox from the provided type and
horizontal/vertical resolutions.
|
compose | protected void compose()(Code) | | |
getHorizontalResolution | public float getHorizontalResolution()(Code) | | Return the horizontal resolution.
|
getNativeNode | public IIOMetadataNode getNativeNode()(Code) | | Creates an IIOMetadataNode from this resolution
box. The format of this node is defined in the XML dtd and xsd
for the JP2 image file.
|
getVerticalResolution | public float getVerticalResolution()(Code) | | Return the vertical resolution.
|
parse | protected void parse(byte[] data)(Code) | | Parse the data elements from the provided content data array.
|
|
|