Package com.bumptech.glide.gifdecoder
Class GifHeaderParser
java.lang.Object
com.bumptech.glide.gifdecoder.GifHeaderParser
A class responsible for creating
GifHeaders from data
representing animated GIFs.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanDetermines 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.setData(byte[] data) setData(ByteBuffer data)
-
Constructor Details
-
GifHeaderParser
public GifHeaderParser()
-
-
Method Details
-
setData
-
setData
-
clear
public void clear() -
parseHeader
-
isAnimated
public 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.
-