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

Uploaded Source

File details

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

File metadata

  • Download URL: ansi2image-0.1.5.tar.gz
  • Upload date:
  • Size: 162.7 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.5.tar.gz
Algorithm Hash digest
SHA256 505a0766955cc2871998160809ae0c99e10c9575c5c35ae058a8e4fd18eefc47
MD5 233e31db02d91974146c1b525dc4211d
BLAKE2b-256 4c8eca21f20156bb5bfffc790f81def02e2b853a8c989a0da1c83867243114d8

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