Go Down

Topic: 3.0" TFT LCD Touch Screen (Read 2709 times) previous topic - next topic


Voila! You are brilliant!


What about snapshot saving as BMP ?


You create a file on the SD.
Write the BMP header.
Read one row at a time with readGRAM().   Write the BGR values for each pixel to SD.
Close the file.

24-bit BMP files are the most common.   i.e. write each pixel as BGR
16-bit BMP files are less common.  i.e. write each pixel in Bigendian

You should be able to write your own function.
Just make sure to write things in the correct Endian order.

Shout if you want help.


Go Up