![]() |
pntr
Header-only CPU graphics library
|
stb_image_write integration with pntr for saving images. More...
Functions | |
| unsigned char * | pntr_stb_image_save_image_to_memory (pntr_image *image, pntr_image_type type, unsigned int *dataSize) |
stb_image_write integration with pntr for saving images.
To use stb_image_write for saving images, define PNTR_STB_IMAGE prior to including pntr.h. This is provided by default.
Image saving can be completely disabled with PNTR_NO_SAVE_IMAGE.
| unsigned char * pntr_stb_image_save_image_to_memory | ( | pntr_image * | image, |
| pntr_image_type | type, | ||
| unsigned int * | dataSize | ||
| ) |
Save an image using stb_image.