#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 () |
Private Attributes | |
| int | image_width |
| int | image_height |
| unsigned char * | image_data |
|
|
|
|
||||||||||||||||
|
data must contain width*height*3 (RGB) values!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8