|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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.PNGMediaHeader
PNG MediaHeader
based on the Java Image I/O API.
Field Summary |
Fields inherited from class org.jboss.media.format.image.iio.IIOMediaHeader (src) |
imageMetadata, metadataRootNode |
Constructor Summary | |
PNGMediaHeader(javax.imageio.metadata.IIOMetadata imageMetadata)
Constructor. |
Method Summary | |
java.lang.String |
getBitDepth()
The bit depth of the image samples. |
java.lang.String |
getColorType()
The color type of the image. |
java.lang.String |
getCompressionMethod()
The compression used for image data. |
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 |
getFilterMethod()
The filtering method used for compression. |
int |
getGamma()
The image gamma, multiplied by 1e5. |
int |
getHeight()
The height of the image in pixels. |
java.lang.String |
getInterlaceMethod()
The interlacing method. |
java.lang.String |
getPixelsPerUnitSpecifier()
The unit specifier for this chunk (i.e., meters). |
int |
getPixelsPerUnitXAxis()
The number of horizontal pixels per unit, multiplied by 1e5. |
int |
getPixelsPerUnitYAxis()
The number of vertical pixels per unit, multiplied by 1e5. |
int |
getWidth()
The width of the image in pixels. |
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 PNGMediaHeader(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 int getWidth()
public int getHeight()
public java.lang.String getBitDepth()
public java.lang.String getColorType()
public java.lang.String getCompressionMethod()
public java.lang.String getFilterMethod()
public java.lang.String getInterlaceMethod()
public int getGamma()
public int getPixelsPerUnitXAxis()
public int getPixelsPerUnitYAxis()
public java.lang.String getPixelsPerUnitSpecifier()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |