Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 hashes
Filename, size climage-0.1.3.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page