Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Convert images to beautiful ANSI escape codes

Project description

CLImage

Convert images to beautiful ANSI escape codes for display in command line interfaces.

Available as both a CLI application and a Python library.

demo

Features

  • 8/16/256/Truecolor supports
  • Custom system color palettes
  • Toggleable Unicode mode, allowing up to 4x more detail
  • Custom output size

Example usage

CLI

$ climage --unicode --truecolor --cols 80 barney.jpg

cliusage

For more detail and available options, run $ climage --help.

Python

import climage

output = climage.convert('image.png', is_unicode=True)
print(output)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for climage, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size climage-0.1.3-py3-none-any.whl (19.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size climage-0.1.3.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page