This should extend the current bitmap support so that both a range of palette-based images can be supported. To start with we should support:
Monochrome XBitmap images
2bpp 4 color images with an associated palette
4bpp 16 color images with an associated palette
8bpp 256 color images with an associated palette
We have three sets of TFT library technologies, that being Adafruit_GFX, TFT_eSPI, and LTDC frame buffer. TFT_eSPI already should support this by just exposing the right functionality in our driver. Adafruit can be based on the cookie-cut bitmap drawer, LTDC could use something similar to whatever we do for Adafruit.
This should extend the current bitmap support so that both a range of palette-based images can be supported. To start with we should support:
We have three sets of TFT library technologies, that being Adafruit_GFX, TFT_eSPI, and LTDC frame buffer. TFT_eSPI already should support this by just exposing the right functionality in our driver. Adafruit can be based on the cookie-cut bitmap drawer, LTDC could use something similar to whatever we do for Adafruit.