ansi2image-0.1.4
توضیحات
ANSI to Image convert ANSI text to an image.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ansi2image-0.1.4 |
| نام | ansi2image |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Helvio Junior (M4v3r1ck) |
| ایمیل نویسنده | helvio.junior@sec4us.com.br |
| آدرس صفحه اصلی | https://github.com/helviojunior/ansi2image |
| آدرس اینترنتی | https://pypi.org/project/ansi2image/ |
| مجوز | GPL-3.0 |
# ANSI to Image
A Python lib to convert ANSI text to Image
[](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_publish.yml)
[](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_test.yml)
[](https://pepy.tech/project/ansi2image)
[](https://pypi.org/project/ansi2image)
[](https://github.com/helviojunior/ansi2image/graphs/contributors)
[](https://pypi.org/project/ansi2image/)
[](https://github.com/helviojunior/ansi2image/blob/main/LICENSE)
ANSI2Image officially supports Python 3.8+.
## Main features
* [x] Read ANSI file (or ANSI stdin) and save an image (JPG or PNG)
## Installation
```bash
pip3 install --upgrade ansi2image
```
## Help
```bash
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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8, <4 | Python |
نحوه نصب
نصب پکیج whl ansi2image-0.1.4:
pip install ansi2image-0.1.4.whl
نصب پکیج tar.gz ansi2image-0.1.4:
pip install ansi2image-0.1.4.tar.gz