I am doing this:
- Code: Select all | TOGGLE FULL SIZE
# Add an image to the layer group
image, palette = adafruit_imageload.load("Covid Watch logo 240x240.bmp",
bitmap=displayio.Bitmap,
palette=displayio.Palette)
And what I get is this:
- Code: Select all | TOGGLE FULL SIZE
Traceback (most recent call last):
File "main.py", line 21, in <module>
File "adafruit_imageload/__init__.py", line 61, in load
File "adafruit_imageload/__init__.py", line 52, in load
File "adafruit_imageload/bmp/__init__.py", line 62, in load
NotImplementedError: True color BMP unsupported
Do I need to change the color depth in the file? Any recommendations on tools that can do that?
Is there a better way to load the file and have a palette calculated for it?