Empty constructor used by the loader
Application extension block
Plain text extension of GIF89a
Loads a *.gif file from a file
Extension identifier
Extension found in GIF89a versions
Header for both 87a and 89a versions.
Per image descriptor.
Contains palette data and information
Contains image data and information.
used for fast access of indexes DEPRECATED!
used for fast access of indexes DEPRECATED!
Returns the width of the image in pixels.
Returns the height of the image in pixels.
Returns true if the image is indexed.
Returns the number of bits used per sample.
Returns the number of bits used per colormap entry.
Returns the pixelformat of the image. See enumerator PixelFormat for more info.
Returns the pixelformat of the palette. See enumerator PixelFormat for more info.
Returns the background color index if there's any. Returns -1 if there's no background color, -2 if background color is not indexed.
Returns the background color if there's any, or a default value otherwise.
Returns the number of planes the image have. Default is one.
Returns a palette range, which can be used to read the palette.
Returns the image data.
Reads a single 32bit pixel. If the image is indexed, a color lookup will be done.
Looks up the index on the palette, then returns the color value as a 32 bit value.
Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Returns true if the image originates from the top
Returns true if the image originates from the right
Returns which image is being set to be worked on.
Sets which image is being set to be worked on.
Sets the current image to the static if available
Number of images in a given multi-image.
Returns the frame duration in hmsec if animation for the given frame. Returns 0 if not an animation.
Returns true if the multi-image is animated
Implements reader/writer for *.GIF-files. Animation is accessed from a sliding window of setting the required frame. Requires linking against the ncompress library for LZW support.