Converting images for dev
Converting images for dev
How do you convert image files to whatever those numbers are in the bitmap.c file
those numbers are the data for the rgb values for the pixels in the image.. they are converted like that so that it makes it easier to use an image in a c program..
you can use the Gimp to convert them.. but you should look at some source code (hello world is an example) to see how they are used, because I think the gimp has a couple of ways to do it.. you can also use bmp2c.. I think it's somewhere on this site, but I'm not sure where..
later
Wulf
you can use the Gimp to convert them.. but you should look at some source code (hello world is an example) to see how they are used, because I think the gimp has a couple of ways to do it.. you can also use bmp2c.. I think it's somewhere on this site, but I'm not sure where..
later
Wulf