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

PLPNGDecoder Class Reference

#include <plpngdec.h>

Inheritance diagram for PLPNGDecoder:

PLPicDecoder PLBmpInfo List of all members.

Public Member Functions

 PLPNGDecoder ()
 Creates a decoder.

virtual ~PLPNGDecoder ()
 Destroys a decoder.

virtual void Open (PLDataSource *pDataSrc)
virtual void GetImage (PLBmp &Bmp)
 Fills the bitmap with the image.


Detailed Description

PNG file decoder. Uses LibPng to do the actual decoding. PNG supports many pixel formats not supported by paintlib. These pixel formats are converted to the nearest paintlib equivalent. Images with less or more than 8 bits per channel are converted to 8 bits per channel. Images with 16-bit palettes or grayscale images with an alpha channel are returned as full 32-bit RGBA bitmaps.

Definition at line 31 of file plpngdec.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