Metadata-Version: 2.1
Name: ansi2image
Version: 0.1.1
Summary: ANSI to Image convert ANSI text to an image.
Home-page: https://github.com/helviojunior/ansi2image
Author: Helvio Junior  (M4v3r1ck)
Author-email: helvio.junior@sec4us.com.br
License: GPL-3.0
Project-URL: Main Author, https://sec4us.com.br/instrutores/helvio-junior/
Project-URL: Documentation, https://github.com/helviojunior/ansi2image
Project-URL: Source, https://github.com/helviojunior/ansi2image
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Security
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Operating System
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.8, <4
Description-Content-Type: text/markdown
License-File: LICENSE

# ANSI to Image

A Python lib to convert ANSI text to Image

[![Build](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_publish.yml/badge.svg)](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_publish.yml)
[![Build](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/helviojunior/ansi2image/actions/workflows/build_and_test.yml)
[![Downloads](https://pepy.tech/badge/ansi2image/month)](https://pepy.tech/project/ansi2image)
[![Supported Versions](https://img.shields.io/pypi/pyversions/ansi2image.svg)](https://pypi.org/project/ansi2image)
[![Contributors](https://img.shields.io/github/contributors/helviojunior/ansi2image.svg)](https://github.com/helviojunior/ansi2image/graphs/contributors)
[![PyPI version](https://img.shields.io/pypi/v/ansi2image.svg)](https://pypi.org/project/ansi2image/)
[![License: GPL-3.0](https://img.shields.io/pypi/l/ansi2image.svg)](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

```


