pntr
Image manipulation library
pntr_stb_image_write

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)
 

Detailed Description

stb_image_write integration with pntr for saving images.

See also
https://github.com/nothings/stb/blob/master/stb_image_write.h
PNTR_STB_IMAGE
PNTR_SAVE_IMAGE_TO_MEMORY
PNTR_NO_SAVE_IMAGE

Function Documentation

◆ pntr_stb_image_save_image_to_memory()

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.