Skip to main content

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

Metadata

Release files for ansi2image 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ansi2image 0.1.6
File Size Uploaded Provenance
ansi2image-0.1.6.tar.gz 163.5 kB Without provenance Details

Release files / ansi2image-0.1.6.tar.gz

Download URL ansi2image-0.1.6.tar.gz
Size 163.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6fbd9a8dd45e4241eb888b9ded5c53c4fc2594252df45b53c80b5907e0d31b7c
BLAKE2b-256 checksum
How to use checksums
64d52bc1e286da7e56b30aed42e249f5cffd64d92a01195f131c92cb604f78fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for ansi2image 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page