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

Uploaded Source

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

Hashes for ansi2image-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6fbd9a8dd45e4241eb888b9ded5c53c4fc2594252df45b53c80b5907e0d31b7c
MD5 7762bfe0dc19d65342f63b55411a859b
BLAKE2b-256 64d52bc1e286da7e56b30aed42e249f5cffd64d92a01195f131c92cb604f78fe

See more details on using hashes here.

Supported by

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