![]() |
pntr
Image manipulation library
|
cute_png integration with pntr for loading and saving images. More...
Functions | |
| pntr_image * | pntr_cute_png_load_image_from_memory (pntr_image_type type, const unsigned char *fileData, unsigned int dataSize) |
| unsigned char * | pntr_cute_png_save_image_to_memory (pntr_image *image, pntr_image_type type, unsigned int *dataSize) |
cute_png integration with pntr for loading and saving images.
To use cute_png.h for saving and loading images, define PNTR_CUTE_PNG prior to including pntr.h:
| pntr_image * pntr_cute_png_load_image_from_memory | ( | pntr_image_type | type, |
| const unsigned char * | fileData, | ||
| unsigned int | dataSize | ||
| ) |
Load a pntr_image using cute_png.
| unsigned char * pntr_cute_png_save_image_to_memory | ( | pntr_image * | image, |
| pntr_image_type | type, | ||
| unsigned int * | dataSize | ||
| ) |
Save an image to memory using cutr_png.