public class GifHeaderParser extends Object
GifHeader
s from data
representing animated GIFs.Constructor and Description |
---|
GifHeaderParser() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isAnimated()
Determines if the GIF is animated by trying to read in the first 2 frames
This method re-parses the data even if the header has already been read.
|
GifHeader |
parseHeader() |
GifHeaderParser |
setData(byte[] data) |
GifHeaderParser |
setData(ByteBuffer data) |
public static final String TAG
public GifHeaderParser setData(ByteBuffer data)
public GifHeaderParser setData(byte[] data)
public void clear()
public GifHeader parseHeader()
public boolean isAnimated()