|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.rim.device.api.system.EncodedImage
|
+--net.rim.device.api.system.JPEGEncodedImage
Represents an image encoded in the JPEG format.
EncodedImage| Field Summary | ||
static int |
FILETYPE_JFIF
Constant indicating the JFIF file type. |
|
static int |
FILETYPE_UNKNOWN
Constant indicating an unknown file type. |
|
static int |
FRAMETYPE_BASELINE
Constant indicating the baseline jpeg mode. |
|
static int |
FRAMETYPE_PROGRESSIVE
Constant indicating the progressive jpg mode. |
|
static int |
FRAMETYPE_SEQUENTIAL
Constnat indicating the sequential jpeg mode . |
|
| Fields inherited from class net.rim.device.api.system.EncodedImage |
DECODE_ALPHA, DECODE_NATIVE, DECODE_READONLY, IMAGE_TYPE_JPEG, IMAGE_TYPE_PNG, IMAGE_TYPE_WBMP |
| Method Summary | ||
int |
getAlphaType(int frameIndex)
Gets the bitmap type for the given frame's alpha channel |
|
int |
getBitmapType(int frameIndex)
Gets the bitmap type for the given frame. |
|
int |
getFileType()
Returns an integer representing the file type. |
|
int |
getFrameType()
Returns an integer representing the frame type. |
|
boolean |
isColor()
Returns a boolean indicating whether or not the jpeg is color. |
|
| Methods inherited from class net.rim.device.api.system.EncodedImage |
createEncodedImage, createEncodedImage, getBitmap, getBitmap, getData, getDecodeMode, getFrameCount, getFrameHeight, getFrameMonochrome, getFrameTransparency, getFrameWidth, getHeight, getImageType, getLength, getOffset, getScale, getScaledHeight, getScaledWidth, getSupportedMIMETypes, getWidth, hasTransparency, isMonochrome, setDecodeMode, setScale |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FILETYPE_UNKNOWN
public static final int FILETYPE_JFIF
public static final int FRAMETYPE_BASELINE
public static final int FRAMETYPE_SEQUENTIAL
public static final int FRAMETYPE_PROGRESSIVE
| Method Detail |
public boolean isColor()
public int getFileType()
One of FILETYPE_UNKNOWN, FILETYPE_JFIF.
public int getFrameType()
One of FRAMETYPE_BASELINE, FRAMETYPE_SEQUENTIAL, FRAMETYPE_PROGRESSIVE.
public int getBitmapType(int frameIndex)
EncodedImagegetBitmapType in class EncodedImagepublic int getAlphaType(int frameIndex)
EncodedImagegetAlphaType in class EncodedImage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.