| java.lang.Object com.sun.mmedia.GIFImageDecoder
GIFImageDecoder | class GIFImageDecoder (Code) | | Decodes single images after parsing headers. Helper for GIFPlayer.
Performs LZW decoding, palette mapping, interlacing, tranparency follow-up
|
Method Summary | |
void | clearImage() | boolean | decodeImage(int lzwCodeSize, int dataSize, byte data, int out) | void | newFrame(int relx, int rely, int width, int height, boolean interlaceFlag) | void | setGlobalPalette(int colorDepth, byte[] palette, int backgroundIndex) | void | setGraphicsControl(int undrawFlag, int transparentColorIndex) | void | setLocalPalette(int colorDepth, byte[] palette) |
UNDRAW_LEAVE | final static int UNDRAW_LEAVE(Code) | | |
UNDRAW_RESTORE_BACKGROUND | final static int UNDRAW_RESTORE_BACKGROUND(Code) | | |
UNDRAW_RESTORE_PREVIOUS | final static int UNDRAW_RESTORE_PREVIOUS(Code) | | |
GIFImageDecoder | GIFImageDecoder(int width, int height, int colorDepth)(Code) | | |
clearImage | void clearImage()(Code) | | |
decodeImage | boolean decodeImage(int lzwCodeSize, int dataSize, byte data, int out)(Code) | | |
newFrame | void newFrame(int relx, int rely, int width, int height, boolean interlaceFlag)(Code) | | |
setGlobalPalette | void setGlobalPalette(int colorDepth, byte[] palette, int backgroundIndex)(Code) | | |
setGraphicsControl | void setGraphicsControl(int undrawFlag, int transparentColorIndex)(Code) | | Set Local Description Extension data (optional)
udrawFlag: see UNDRAW_* constants
tranparentColor: -1 - no transparent color, otherwise - index from color table
|
setLocalPalette | void setLocalPalette(int colorDepth, byte[] palette)(Code) | | |
|
|