Package com.bumptech.glide.gifdecoder
Class GifHeader
- java.lang.Object
-
- com.bumptech.glide.gifdecoder.GifHeader
-
public class GifHeader extends java.lang.ObjectA header object containing the number of frames in an animated GIF image as well as basic metadata like width and height that can be used to decode each individual frame of the GIF. Can be shared by one or moreGifDecoders to play the same animated GIF in multiple views.- See Also:
- GIF 89a Specification
-
-
Field Summary
Fields Modifier and Type Field Description static intNETSCAPE_LOOP_COUNT_DOES_NOT_EXISTIndicates that this header has no "Netscape" loop count.static intNETSCAPE_LOOP_COUNT_FOREVERThe "Netscape" loop count which means loop forever.
-
Constructor Summary
Constructors Constructor Description GifHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetNumFrames()intgetStatus()Global status code of GIF data parsing.intgetWidth()
-
-
-
Field Detail
-
NETSCAPE_LOOP_COUNT_FOREVER
public static final int NETSCAPE_LOOP_COUNT_FOREVER
The "Netscape" loop count which means loop forever.- See Also:
- Constant Field Values
-
NETSCAPE_LOOP_COUNT_DOES_NOT_EXIST
public static final int NETSCAPE_LOOP_COUNT_DOES_NOT_EXIST
Indicates that this header has no "Netscape" loop count.- See Also:
- Constant Field Values
-
-