45 #ifndef CFileImagePNGH 46 #define CFileImagePNGH 76 bool cLoadFilePNG(cImage* a_image,
const std::string& a_filename);
79 bool cLoadPNG (cImage *a_image,
const unsigned char *a_buffer,
unsigned int a_len);
82 bool cSaveFilePNG(cImage* a_image,
const std::string& a_filename);
85 bool cSavePNG (cImage *a_image,
unsigned char **a_buffer,
unsigned int *a_len);
91 inline bool cLoadFilePNG(cImage* a_image, std::string a_filename) {
return (
false); }
92 inline bool cLoadPNG (cImage *a_image,
const unsigned char *a_buffer,
unsigned int a_len) {
return (
false); }
93 inline bool cSaveFilePNG(cImage* a_image, std::string a_filename) {
return (
false); }
94 inline bool cSavePNG (cImage *a_image,
unsigned char **a_buffer,
unsigned int *a_len) {
return (
false); }
bool cSavePNG(cImage *a_image, unsigned char **a_buffer, unsigned int *a_len)
This function saves a PNG image buffer.
Definition: CFileImagePNG.cpp:498
Definition: CAudioBuffer.cpp:56
bool cLoadPNG(cImage *a_image, const unsigned char *a_buffer, unsigned int a_len)
This function loads a PNG image buffer.
Definition: CFileImagePNG.cpp:371
Implements a 2D image data structure.
bool cLoadFilePNG(cImage *a_image, const std::string &a_filename)
This function loads a PNG image file.
Definition: CFileImagePNG.cpp:302
bool cSaveFilePNG(cImage *a_image, const std::string &a_filename)
This function saves a PNG image file.
Definition: CFileImagePNG.cpp:433