cf_image_load_jpg_wh¶
Category: image
GitHub: cute_image.h
Loads just the width/height out of a jpeg image, without decoding the pixels.
| Parameters | Description |
|---|---|
data |
Pointer to the jpeg 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.