Including resources
BlitzMax Forums/BlitzMax Programming/Including resources
| ||
Hey ho, clever folks. This line of c/c++ embeds an image in an executable: #include "bitmaps/new.xpm" (well, technically, it embeds some C-code which represents the image data). I take it there is no easy way to use these things in BlitzMax - without having to write some C/C++ glue? Incbin'ing the file I doubt would help much, unless I wrapped up some loader code... Any thoughts? :o) |
| ||
Hello :-) Why not make a tool to convert a bitmap to raw datas and then insert them into a .bmx file with defdata commands ? (i hope i've understood the question, my english is poor) |
| ||
Question? What advantage does the .xpm format have over any of the standard image formats that you could just incbin? |
| ||
What advantage does the .xpm format have over any of the standard image formats that you could just incbin? That it's a text based format widely used in proper Operating Systems? |