cf_image_load_png_wh¶
Category: image
GitHub: cute_image.h
Loads just the width/height out of a png image, without processing the pixels.
| Parameters | Description |
|---|---|
data |
Pointer to the png file in memory. |
size |
The number of bytes in the data pointer. |
w |
Out parameter for the width of the image. |
h |
Out parameter for the height of the image. |
Return Value¶
Check the CF_Result for errors.
Related Pages¶
CF_Image
cf_image_load_png
cf_image_load_png_from_memory
cf_image_premultiply
cf_image_load_png_indexed