com.bumptech.glide.gifdecoder
Class GifHeader

java.lang.Object
  extended by com.bumptech.glide.gifdecoder.GifHeader

public class GifHeader
extends Object

A 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 more GifDecoders to play the same animated GIF in multiple views.


Constructor Summary
GifHeader()
           
 
Method Summary
 int getHeight()
           
 int getNumFrames()
           
 int getStatus()
          Global status code of GIF data parsing.
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GifHeader

public GifHeader()
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

getNumFrames

public int getNumFrames()

getStatus

public int getStatus()
Global status code of GIF data parsing.