|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.media.format.image.iio.IIOMediaHeader (src)
org.jboss.media.format.image.iio.StandardMediaHeader
MediaHeader
based on the Standard (Plug-in Neutral)
Metadata Format Specification of the Java Image I/O API.
Field Summary |
Fields inherited from class org.jboss.media.format.image.iio.IIOMediaHeader (src) |
imageMetadata, metadataRootNode |
Constructor Summary | |
StandardMediaHeader(javax.imageio.metadata.IIOMetadata imageMetadata)
Constructor. |
Method Summary | |
float |
getBitRate()
The estimated bit rate of the compression scheme. |
java.lang.String |
getBitsPerSample()
The number of bits per sample. |
java.lang.String |
getBlackIsZero()
True if smaller values represent darker shades. |
java.lang.String |
getColorSpaceType()
The raw color space of the image. |
java.lang.String |
getCompressionTypeName()
The name of the compression scheme in use. |
java.lang.Object |
getField(java.lang.String fieldname)
Returns the field with the given name downcast to Object . |
java.lang.String[] |
getFieldNames()
Returns an array of Strings containing all the field names defined for the header. |
java.lang.String |
getFormatVersion()
The version of the format used by the stream. |
float |
getGamma()
The image gamma. |
float |
getHorizontalPhysicalPixelSpacing()
The horizontal distance in the subject of the image, in millimeters, represented by one pixel at the center of the image. |
int |
getHorizontalPixelOffset()
The horizonal position, in pixels, where the image should be rendered onto a raster display. |
float |
getHorizontalPixelSize()
The width of a pixel, in millimeters, as it should be rendered on media. |
float |
getHorizontalPosition()
The horizontal position, in millimeters, where the image should be rendered on media. |
int |
getHorizontalScreenSize()
The width, in pixels, of the raster display into which the image should be rendered. |
int |
getImageCreationYear()
The full year of image creation (e.g., 1967, not 67). |
java.lang.String |
getImageOrientation()
The desired orientation of the image in terms of flips and counter-clockwise rotations. |
java.lang.String |
getLossless()
True if the compression scheme is lossless. |
java.lang.String |
getNumChannels()
The number of channels in the raw image, including alpha. |
int |
getNumProgressiveScans()
The number of progressive scans used in the image encoding. |
float |
getPixelAspectRatio()
The width of a pixel divided by its height. |
java.lang.String |
getPlanarConfiguration()
The organization of image samples in the stream. |
java.lang.String |
getSampleFormat()
The numeric format of image samples. |
java.lang.String |
getSampleMSB()
The position of the most significant bit of each sample. |
java.lang.String |
getSignificantBitsPerSample()
The number of significant bits per sample. |
java.lang.String |
getSubimageInterpretation()
The interpretation of this image in relation to the other images stored in the same stream. |
float |
getVerticalPhysicalPixelSpacing()
The vertical distance in the subject of the image, in millimeters, represented by one pixel at the center of the image. |
int |
getVerticalPixelOffset()
The vertical position, in pixels, where the image should be rendered onto a raster display. |
float |
getVerticalPixelSize()
The height of a pixel, in millimeters, as it should be rendered on media. |
float |
getVerticalPosition()
The vertical position, in millimeters, where the image should be rendered on media. |
int |
getVerticalScreenSize()
The height, in pixels, of the raster display into which the image should be rendered. |
Methods inherited from class org.jboss.media.format.image.iio.IIOMediaHeader (src) |
getAttribute, getAttribute, getNode, getNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardMediaHeader(javax.imageio.metadata.IIOMetadata imageMetadata)
Method Detail |
public java.lang.String[] getFieldNames()
MediaHeader (src)
getFieldNames
in interface MediaHeader (src)
getFieldNames
in class IIOMediaHeader (src)
MediaHeader.getFieldNames()
public java.lang.Object getField(java.lang.String fieldname)
MediaHeader (src)
Object
. If the field is modeled as a Java base type,
an instance of the corresponding wrapper class has to be returned. The
value null
is returned if a field name is passed that is
not defined for the receiver.
getField
in interface MediaHeader (src)
getField
in class IIOMediaHeader (src)
MediaHeader.getField(java.lang.String)
public java.lang.String getColorSpaceType()
public java.lang.String getNumChannels()
public float getGamma()
public java.lang.String getBlackIsZero()
public java.lang.String getCompressionTypeName()
public java.lang.String getLossless()
public int getNumProgressiveScans()
public float getBitRate()
public java.lang.String getPlanarConfiguration()
public java.lang.String getSampleFormat()
public java.lang.String getBitsPerSample()
public java.lang.String getSignificantBitsPerSample()
public java.lang.String getSampleMSB()
public float getPixelAspectRatio()
public java.lang.String getImageOrientation()
public float getHorizontalPixelSize()
public float getVerticalPixelSize()
public float getHorizontalPhysicalPixelSpacing()
public float getVerticalPhysicalPixelSpacing()
public float getHorizontalPosition()
public float getVerticalPosition()
public int getHorizontalPixelOffset()
public int getVerticalPixelOffset()
public int getHorizontalScreenSize()
public int getVerticalScreenSize()
public java.lang.String getFormatVersion()
public java.lang.String getSubimageInterpretation()
public int getImageCreationYear()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |