Go Down

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

tonys_0

Voila! You are brilliant!

Thanks.

What about snapshot saving as BMP ?

david_prentice

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.

David.


Go Up