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 GifHeaderParser setData(@NonNull ByteBuffer data)
public GifHeaderParser setData(@Nullable byte[] data)
public void clear()
public boolean isAnimated()