Best way to convert bmp to byte array
Best way to convert bmp to byte array
I noticed the main background of the obd2 mega logger is a bmp converted to a char array. I'd like to know how to best convert a regular old bmp into this format without coding something from scratch. I can't find documentation anywhere.
Re: Best way to convert bmp to byte array
Bumping this, I would like to know also
Thanks
Thanks
Re: Best way to convert bmp to byte array
I forget how I did it but the conversion was very time consuming and annoying. I wound up coding it so the bmp was read through an SD card so that conversion wasn't necessary. The file space on the Arduino itself is far too precious to be spent on bitmaps.
Re: Best way to convert bmp to byte array
Sorry to edit this, I took a png, converted it to a raw file using this page (http://www.rinkydinkelectronics.com/t_i ... ter565.php) and loaded it from an external SD card.
Re: Best way to convert bmp to byte array
I tried that code a long while ago. Never got it working well enough. I'm probably not smart enough to know where I went wrong lol. I hope the rinky dink website doesn't go down anytime soon.