ANSI to Image
A Python lib to convert ANSI text to Image
ANSI2Image officially supports Python 3.8+.
Main features
- Read ANSI file (or ANSI stdin) and save an image (JPG or PNG)
Installation
pip3 install --upgrade ansi2image
Help
ANSI to image v0.1.1 by Helvio Junior
ANSI to Image convert ANSI text to an image.
https://github.com/helviojunior/ansi2image
positional arguments:
[filename] File path or - to stdin
Options:
-o--output [filename] image output file.
--font [font] font type. (default: JetBrains Mono Regular).
--font-list List all supported font family and variations
-h, --help show help message and exit
-v Specify verbosity level (default: 0). Example: -v, -vv, -vvv
--version show current version
ANSI reference
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ansi2image-0.1.6.tar.gz
(163.5 kB
view details)
File details
Details for the file ansi2image-0.1.6.tar.gz.
File metadata
- Download URL: ansi2image-0.1.6.tar.gz
- Upload date:
- Size: 163.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fbd9a8dd45e4241eb888b9ded5c53c4fc2594252df45b53c80b5907e0d31b7c
|
|
| MD5 |
7762bfe0dc19d65342f63b55411a859b
|
|
| BLAKE2b-256 |
64d52bc1e286da7e56b30aed42e249f5cffd64d92a01195f131c92cb604f78fe
|