Skip to content

displayio.OnDiskBitmap shows corrupted image when using a compressed BMP #7450

@Breazile

Description

@Breazile

CircuitPython version

Adafruit CircuitPython 8.0.0-beta.6 on 2022-12-21; Adafruit Feather ESP32S3 4MB Flash 2MB PSRAM with ESP32S3
Board ID:adafruit_feather_esp32s3_4mbflash_2mbpsram

Code/REPL

displayio.OnDiskBitmap("compressed.bmp")

Behavior

The system displays an image, but it is corrupted and looks like it is not using the proper scan line width or something. I see the right colors, but displayed incorrectly

Description

I have tried making a compressed BMP in many ways from Photoshop to other image editors. Removing compression works fine, but I have not found any compressed BMP that will draw properly.

I have tried on a Feather M4 Express as well as a Feather ESP32S3 on the 1.14" LCD display as well as the 1.3" LCD display.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions