Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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.

Only certain types of bitmaps work with this library, and they often have to be exported in specific ways. To find out what types are supported and how to make them, see this learn guide page.

Usage Example

import board
import displayio
import adafruit_imageload

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

group = displayio.Group()
group.append(tile_grid)
board.DISPLAY.root_group = group
while True:
    pass

Documentation

API documentation for this library can be found on Read the Docs.

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

Contributing

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

Metadata

Release files for adafruit-circuitpython-imageload 1.24.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-imageload 1.24.8
File Size Uploaded
adafruit_circuitpython_imageload-1.24.8.tar.gz 96.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-imageload 1.24.8
File Interpreter ABI Platform
adafruit_circuitpython_imageload-1.24.8-py3-none-any.whl Python 3 none any Details

Total release size: 125.1 kB

Release files / adafruit_circuitpython_imageload-1.24.8.tar.gz

Download URL adafruit_circuitpython_imageload-1.24.8.tar.gz
Size 96.7 kB
Tags Source
SHA-256 checksum
How to use checksums
64112d916363740615a5ac5570e98df303b9bf4a9114231b3fc4a0e14a6c9cb0
BLAKE2b-256 checksum
How to use checksums
b467a17f8c2b724616bcc038fcc6bf645081cc8a3cc5b8498f22f823db2e09b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_imageload-1.24.8-py3-none-any.whl

Download URL adafruit_circuitpython_imageload-1.24.8-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b67f873e13f1fe03895072d0aae50e83a263e64bc40b0eddb988d59042928a6d
BLAKE2b-256 checksum
How to use checksums
d3dab67b44b7af8fd2a1a019154c4353c3a0f654f38ec093a0fe4b24af93e2fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.24.8 This release

2 release files

1.24.7

2 release files

1.24.6

2 release files

1.24.5

2 release files

1.24.4

2 release files

1.24.3

2 release files

1.24.2

2 release files

1.24.1

2 release files

1.24.0

2 release files

1.23.9

2 release files

1.23.8

2 release files

1.23.7

2 release files

1.23.6

2 release files

1.23.3

2 release files

1.23.1

2 release files

1.21.0

2 release files

1.19.1

2 release files

1.19.0

2 release files

1.17.3

2 release files

1.17.2

2 release files

1.17.1

2 release files

1.16.8

2 release files

1.16.7

2 release files

1.16.6

2 release files

1.16.5

2 release files

1.16.3

1 release file

1.16.2

1 release file

1.16.1

1 release file

1.16.0

1 release file

1.15.5

1 release file

1.15.4

1 release file

1.15.3

1 release file

1.15.2

1 release file

1.15.1

1 release file

1.15.0

1 release file

0.14.3

1 release file

0.14.2

1 release file

0.14.1

1 release file

0.14.0

1 release file

0.13.4

1 release file

0.13.3

1 release file

0.13.2

1 release file

0.13.1

1 release file

0.13.0

1 release file

0.12.8

1 release file

0.11.7

1 release file

0.11.6

1 release file

0.11.5

1 release file

0.11.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page