public class GifDecoder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
act |
protected int |
bgColor |
protected int |
bgIndex |
protected byte[] |
block |
protected int |
blockSize |
protected int |
delay |
protected int |
dispose |
protected int |
frameCount |
protected ArrayList<com.github.rapidark.framework.media.GifDecoder.GifFrame> |
frames |
protected int[] |
gct |
protected boolean |
gctFlag |
protected int |
gctSize |
protected int |
height |
protected int |
ih |
protected BufferedImage |
image |
protected BufferedInputStream |
in |
protected boolean |
interlace |
protected int |
iw |
protected int |
ix |
protected int |
iy |
protected int |
lastBgColor |
protected int |
lastDispose |
protected BufferedImage |
lastImage |
protected Rectangle |
lastRect |
protected Color |
lastTransparencyColor |
protected int[] |
lct |
protected boolean |
lctFlag |
protected int |
lctSize |
protected int |
loopCount |
protected static int |
MaxStackSize |
protected int |
pixelAspect |
protected byte[] |
pixels |
protected byte[] |
pixelStack |
protected short[] |
prefix |
protected int |
status |
static int |
STATUS_FORMAT_ERROR |
static int |
STATUS_OK |
static int |
STATUS_OPEN_ERROR |
protected byte[] |
suffix |
protected int |
transIndex |
protected boolean |
transparency |
protected int |
width |
| Constructor and Description |
|---|
GifDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeImageData() |
protected boolean |
err() |
int |
getDelay(int n) |
BufferedImage |
getFrame(int n) |
int |
getFrameCount() |
Dimension |
getFrameSize() |
BufferedImage |
getImage() |
int |
getLoopCount() |
protected void |
init() |
boolean |
isTransparency() |
protected int |
read() |
int |
read(BufferedInputStream is) |
int |
read(InputStream is) |
int |
read(String name) |
protected int |
readBlock() |
protected int[] |
readColorTable(int ncolors) |
protected void |
readContents() |
protected void |
readGraphicControlExt() |
protected void |
readHeader() |
protected void |
readImage() |
protected void |
readLSD() |
protected void |
readNetscapeExt() |
protected int |
readShort() |
protected void |
resetFrame() |
protected void |
setPixels() |
protected void |
skip() |
public static final int STATUS_OK
public static final int STATUS_FORMAT_ERROR
public static final int STATUS_OPEN_ERROR
protected BufferedInputStream in
protected int status
protected int width
protected int height
protected boolean gctFlag
protected int gctSize
protected int loopCount
protected int[] gct
protected int[] lct
protected int[] act
protected int bgIndex
protected int bgColor
protected int lastBgColor
protected int pixelAspect
protected boolean lctFlag
protected boolean interlace
protected int lctSize
protected int ix
protected int iy
protected int iw
protected int ih
protected Rectangle lastRect
protected BufferedImage image
protected BufferedImage lastImage
protected byte[] block
protected int blockSize
protected int dispose
protected int lastDispose
protected boolean transparency
protected int delay
protected int transIndex
protected static final int MaxStackSize
protected short[] prefix
protected byte[] suffix
protected byte[] pixelStack
protected byte[] pixels
protected ArrayList<com.github.rapidark.framework.media.GifDecoder.GifFrame> frames
protected int frameCount
protected Color lastTransparencyColor
public int getDelay(int n)
public int getFrameCount()
public BufferedImage getImage()
public int getLoopCount()
protected void setPixels()
public BufferedImage getFrame(int n)
public Dimension getFrameSize()
public int read(BufferedInputStream is)
public int read(InputStream is)
public int read(String name)
protected void decodeImageData()
protected boolean err()
protected void init()
protected int read()
protected int readBlock()
protected int[] readColorTable(int ncolors)
protected void readContents()
protected void readGraphicControlExt()
protected void readHeader()
protected void readImage()
protected void readLSD()
protected void readNetscapeExt()
protected int readShort()
protected void resetFrame()
protected void skip()
public boolean isTransparency()
Copyright © 2016. All Rights Reserved.