Skip to main content

ANSI to Image convert ANSI text to an image.

Project description

ANSI to Image

A Python lib to convert ANSI text to Image

Build Build Downloads Supported Versions Contributors PyPI version License: GPL-3.0

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

Project details


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.4.tar.gz (161.1 kB view details)

Uploaded Source

File details

Details for the file ansi2image-0.1.4.tar.gz.

File metadata

  • Download URL: ansi2image-0.1.4.tar.gz
  • Upload date:
  • Size: 161.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for ansi2image-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ce6e4f7ad1fc4865c176cfef7c18648ac4a6c258bd2cc07c35c58ce53fffc9fa
MD5 86d12310c50d0504484777059db3b536
BLAKE2b-256 3f3d1a8363008572b446193bf31cfe5150252c2ad245116560e98d8c65def788

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page