|
How to convert BMP pictures to C file for GLCD?Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Damian Stolarek Posted 22-Jun-2009 22:51 GMT Toolset ARM |  How to convert BMP pictures to C file for GLCD? Damian Stolarek Hi! In the demo LCD Blinky from my MCB1700 evalboard the pictures are stored in c files e.g. Bg_16bpp_t_fh_fv.c. Anybody knows how to create a c file from my picture? Best regards Damian | | Read-Only Author Ashley Madison Posted 23-Jun-2009 00:06 GMT Toolset ARM |  RE: How to convert BMP pictures to C file for GLCD? Ashley Madison I use an excel spreadsheet to generate the data value and then copy them back to my C program. | | Read-Only Author Andy Neil Posted 23-Jun-2009 00:23 GMT Toolset None |  RE: Excel?? Andy Neil Do you really use Excel to read a graphics file?! Although Excel is great for computing data values to go into tables, etc, I think there must be better ways to read graphics files?! try googling "convert BMP to C source" or similar... | | Read-Only Author Damian Stolarek Posted 23-Jun-2009 08:01 GMT Toolset ARM |  RE: Excel?? Damian Stolarek Hi! I used several converter programs but unfortunately the generated output files are different from the output in the example or the bmp file can't be loaded. Best regards Damian | | Read-Only Author Andy Neil Posted 23-Jun-2009 09:31 GMT Toolset ARM |  RE: the generated output files are different Andy Neil In what way are they "different"? Is the difference significant? | | Read-Only Author Damian Stolarek Posted 23-Jun-2009 11:00 GMT Toolset ARM |  RE: the generated output files are different Damian Stolarek The differences are: - number of bytes in the output file - notation of the bit informations 0x01 0x0123 - number of maximal colors in the picture (depth 1/4/16/24) Best regards Damian | | Read-Only Author Günter Kollmann Posted 25-Jun-2009 13:40 GMT Toolset ARM |  RE: How to convert BMP pictures to C file for GLCD? Günter Kollmann Write a c-program, open the bmp-file and convert it to what you want, open another file and write the image into that new file. :-) | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|