cf_image_load_png_from_memory¶
Category: image
GitHub: cute_image.h
Loads a png image from memory.
| Parameters | Description |
|---|---|
| data | Pointer to the png file in memory. |
| size | The number of bytes in the data pointer. |
| img | Out parameter for the image. |
Return Value¶
Check the CF_Result for errors.
Related Pages¶
CF_Image
cf_image_load_png
cf_image_premultiply
cf_image_load_png_wh
cf_image_load_png_indexed