Documentation Status Discord Build Status

This library decodes an image file into new bitmap and palette objects of the provided type. It’s designed to load code needed during decoding as needed. This is meant to minimize the memory overhead of the decoding code.

Usage Example

import displayio
import adafruit_imageload

image, palette = adafruit_imageload.load(
    "images/4bit.bmp", bitmap=displayio.Bitmap, palette=displayio.Palette


Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.


For information on building library documentation, please check out this guide.

Indices and tables