Converting 1-bit bitmap to c code

Started by
-1 comments, last by Sigvatr 14 years, 4 months ago
Hi there, I need help with the following two things: 1) How do I convert a 1-bit bitmap into c code? Are there any programs that can do this for me? 2) How do I load the ensuing data into a GLuint that I can render? Or would it be better for it to render as a bool (is that possible?) ? I'd prefer not to have to write code that converts images into c code if possible. Basically, I need a few images to be embedded within my application so that they will always be there, even if the user messes around with the data files. Cheers.

This topic is closed to new replies.

Advertisement