Skip to content

BMP image loading and rendering issues #3723

Closed
@PaintYourDragon

Description

@PaintYourDragon

Certain BMP varieties fail to load or display as intended. Behavior varies depending on image type, size, and whether using displayio.OnDiskBitmap vs adafruit_imageload library. (Last image is skipped because it's known that imageload doesn't handle 24-bit BMPs -- this is NOT a bug report or feature request for that -- the other images represent the issues being raised here.)

Test platform is Adafruit MagTag running adafruit-circuitpython-adafruit_magtag_2.9_grayscale-en_US-20201117-a0d3050.uf2. Test code and data attached. Comments in code describe required libraries and walk through the issues.

circuitpy-image-test.zip

Elsewhere I mentioned an issue where 4-bit pixels might be extracted in the wrong hi/lo order. I'm not seeing that here now, so please disregard that. Will add comments/changes here if I'm able to reproduce it again.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions