Observed since 20 Oct, 19:47 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Convert images to packed monochrome C arrays for dot-matrix displays, with interactive editor.
Convert images to packed monochrome C arrays for dot-matrix displays, with an optional interactive bitmap editor.
cairosvg (extra dependency)Once published, you will be able to install the package via:
pip install adot-image-creator
To enable SVG input support, install with the svg extra:
pip install "adot-image-creator[svg]"
The package exposes a console script named adot-image-creator.
adot-image-creator -i INPUT -H HEIGHT -w WIDTH [options]
Arguments:
-i, --input – input image file (PNG, JPG, SVG, BMP, ...), required-H, --height – target height in pixels (1–255), required-w, --width – target width in pixels (1–255), required-t, --threshold – threshold level between white and black (0–10, default: 5)-s, --scale – pixel scale for interactive editor (logical pixel = s × s screen pixels, default: 4)Example:
adot-image-creator \
-i logo.png \
-H 32 \
-w 64 \
-t 5 \
-s 4
The tool will:
You can redirect the output directly into a C source file, for example:
adot-image-creator -i logo.png -H 32 -w 64 > logo_bitmap.c
The same functionality is available from Python code via the adot_image_creator package.
from adot_image_creator import (
load_image,
to_monochrome_bytes,
bytes_to_bool_matrix,
bool_matrix_to_bytes,
interactive_edit_bitmap,
preview_from_bytes,
format_hexdump,
)
# Load and prepare an image
img = load_image("logo.png", width=64, height=32)
# Convert to monochrome bytes (0–10 threshold)
raw_bytes = to_monochrome_bytes(img, threshold_level=5)
# Optionally let the user tweak pixels in a small GUI editor
bitmap = bytes_to_bool_matrix(width=64, height=32, data=raw_bytes)
edited_bitmap = interactive_edit_bitmap(width=64, height=32, bitmap=bitmap, scale=4)
final_bytes = bool_matrix_to_bytes(width=64, height=32, bitmap=edited_bitmap)
# Preview result in a simple image viewer
preview_from_bytes(width=64, height=32, data=final_bytes)
# Generate C hex dump
hexdump = format_hexdump(height=32, width=64, data=final_bytes)
print(hexdump)
Pillow – required for image loading and processingcairosvg – optional, required only when working with SVG/SVGZ input ([svg] extra)tkinter – optional, used only for the interactive bitmap editor (may not be available in some environments)This project is distributed under a proprietary license.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 3.1.0 | 17 Mar 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:47 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0a06ec740a78212a0fdfc2016b481f8b7ef12d396388eb85bf220d4957642e5a