Load image to win32 api #1301
Unanswered
saisilcastro
asked this question in
Q&A
Replies: 1 comment
-
The whole point of stb_image is to give you things in this simple, common low-level format (a stream of bytes), and it's up to you to know or learn how to get that low-level data into whatever format you want, that's not stb_image's problem. So this is really a question for a Win32 forum, or an OpenGL forum, or etc., and you're probably not going to get much help here on platform-specific issues. But to get you started, here's OpenGL:
|
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
-
I'm trying to find out how to load an image using either pure win32 and opengl through stb image.
I could load the image into buffer and get it's width, height and bpp. But now I wonder what must I do to put it into a win32 container. Like some function LoadBitmapIntoBuffer or something. Can you guys help me?
Beta Was this translation helpful? Give feedback.
All reactions