Skip to content

cf_image_load_png

Category: image
GitHub: cute_image.h


Loads a png image.

CF_Result cf_image_load_png(const char* virtual_path, CF_Image* img);
Parameters Description
virtual_path A virtual path to the image file. See Virtual File System.
img Out parameter for the image.

Return Value

Check the CF_Result for errors.

CF_Image
cf_image_premultiply
cf_image_free
cf_image_load_png_from_memory
cf_image_load_png_wh
cf_image_load_png_indexed
cf_image_save_png
cf_image_save_png_to_memory