Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

PLGIFDecoder Class Reference

#include <plgifdec.h>

Inheritance diagram for PLGIFDecoder:

PLPicDecoder PLBmpInfo List of all members.

Public Member Functions

virtual void Open (PLDataSource *pDataSrc)
virtual void GetImage (PLBmp &Bmp)
virtual void Close ()

Detailed Description

Compuserve gif file decoder using libungif to do the actual work. The bitmap returned always has 8 bpp. If the gif has a transparent color, the palette of the bitmap has alpha=0 for this color and HasAlpha=true. Does not support loading more than one image from a multi-image gif. (One issue with gifs is that you don't know whether the image has a transparent color until it's been decoded completely. For this reason, calling HasAlpha for the decoder before GetImage() will always return false.)

Definition at line 29 of file plgifdec.h.

The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:23 2004 for paintlib by doxygen 1.3.2