I'm using the Arduino Due and Arduino TFT LCD 1.7'' screen in my Project. The code I'm using is from the examples section in arduino IDE. File->Examples->TFT->Arduino->TFTBitmapLogo
From the program, the code concerning my question is as follows:
PImage logo;
logo = TFTscreen.loadImage("4.bmp");
if (!logo.isValid()) {
Serial.println(F("error while loading image"));
In case of 8-bit image, I get the error statement as seen in code. It seems that there is no provision in the TFT library for displaying any other type of .bmp image other than a 24-bit image. What can be done to display 8-bit .bmp images on the TFT?
Any help would be appreciated.