Skip to main content

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.

Source Distribution

climage-0.1.2.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

climage-0.1.2-py3-none-any.whl (19.2 kB view hashes)

Uploaded Python 3

Supported by

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