#include <imageppm.h>
Public Member Functions | |
ImagePPM () | |
ImagePPM (int width, int height, unsigned char *data) | |
data must contain width*height*3 (RGB) values! | |
~ImagePPM () | |
int | loadImage (const std::string &filename) |
int | storeImage (const std::string &filename) |
int | width () |
int | height () |
unsigned char * | data () |
ImagePPM | ( | ) |
ImagePPM | ( | int | width, | |
int | height, | |||
unsigned char * | data | |||
) |
data must contain width*height*3 (RGB) values!
~ImagePPM | ( | ) |
unsigned char* data | ( | ) | [inline] |
int height | ( | ) | [inline] |
int loadImage | ( | const std::string & | filename | ) |
int storeImage | ( | const std::string & | filename | ) |
int width | ( | ) | [inline] |