The Conley-Morse Graphs Software
Classes
pngimage.h File Reference

Writing PNG images. More...

#include <png.h>
#include <cstdlib>

Go to the source code of this file.

Classes

class  PngImage
 An interface to the PNG library. More...
 

Detailed Description

Writing PNG images.

This file contains the definition of a simple class "PngImage" which allows one to create an RGB bitmap image of a prescribed size, set the color of individual pixels, and save the image to a PNG file. This class also allows to read a PNG image which is automatically converted to an RGB bitmap.

Author
Pawel Pilarczyk

Definition in file pngimage.h.