a tool that converts your text and fonts into pixel img.
Project description
mono-pixel
mono-pixel is a small Python library and CLI for rendering high-contrast, "pixel"-style text images suitable for LED-like displays, e-paper, or retro-styled graphics. It provides utilities for loading fonts, calculating text layout, rendering text to an image, and exporting images with strict binarization.
Features
- Render text into fixed-size pixel canvases
- Automatic font sizing to fit text into a target box
- Strict binarization and monochrome export
- Small, dependency-light implementation (Pillow + Typer)
Quick start
- See the detailed usage guide in the
docsdirectory: Usage - From source you can run the CLI with:
uv run mono-pixel --help
License
This project is available under the terms described in the LICENSE.txt file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mono_pixel-0.1.0.tar.gz.
File metadata
- Download URL: mono_pixel-0.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
717298dd71854470809b5cda85d622dada72bdd81436f593815f63179d37e451
|
|
| MD5 |
ca62350430a7759bf4ee83505ccb4441
|
|
| BLAKE2b-256 |
79549a51efcdb8bae89545efa48cf7b0cd9079c4358ecc2c43804155271f0780
|
File details
Details for the file mono_pixel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mono_pixel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95ed8482cc01c5c55dd8e6f6d6ae56516f5c8d41ba00ed16bb9b959fdcf8262
|
|
| MD5 |
e8472310855982c51b615ca4f150a191
|
|
| BLAKE2b-256 |
ccc2e0c6a132cb7e11f70c138d53e851f482558ce8c8cffdb6ac18f65feb3fb8
|