Last updated:
0 purchases
ansi2image 0.1.4
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
https://en.wikipedia.org/wiki/_ANSI_escape_code
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.