Replies: 1 comment
-
Yes: https://github.com/nothings/stb/blob/master/stb_image.h#L498 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi experts,
I am new to stb lib. My requirement is to query texture width and height so I need to call stbi_load. But this API will allocate heap memory for bitmap data. Any way to avoid heap memory allocation? Or another api to do it?
Beta Was this translation helpful? Give feedback.
All reactions