In file include/csgfxldr/pngimage.h:

class ImagePngFile : public ImageFile

An ImageFile subclass for reading PNG files

Inheritance:


Public Methods

virtual ~ImagePngFile()

Private Fields

friend class ImageFile

Private Methods

ImagePngFile(UByte* buf, size_t size)
Read the PNG file from the buffer.
static void PNG_read(png_structp png, png_bytep data, png_size_t size)

Inherited from ImageFile:

Public Methods

ImageFile* blend(Filter3x3* filt1)
int get_height()
const RGBPixel* get_image()
long get_size()
int get_status()
virtual const char* get_status_mesg()
int get_width()
ImageFile* mipmap(int steps, Filter3x3* filt1, Filter5x5* filt2)
ImageFile* mipmap(int steps)

Protected Fields

int status

Protected Methods

RGBPixel* get_buffer()
void set_dimensions(int w, int h)

Private Fields

int height
RGBPixel* image
int width

Documentation

An ImageFile subclass for reading PNG files.

This implementation needs both zlib and pnglib to read .PNG files.

friend class ImageFile

ImagePngFile(UByte* buf, size_t size)
Read the PNG file from the buffer.

static void PNG_read(png_structp png, png_bytep data, png_size_t size)

virtual ~ImagePngFile()


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de