Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/endreszabo/Image-to-ANSI-converter

Converts any gd importable image to ANSI control codes for terminal representation
https://github.com/endreszabo/Image-to-ANSI-converter

Last synced: about 2 months ago
JSON representation

Converts any gd importable image to ANSI control codes for terminal representation

Awesome Lists containing this project

README

        

NAME
====

Image to ANSI - Converts any gd importable image to terminal ANSI codes

SYNOPSIS
========

python2 Image-to-ANSI-converter.py <16|256|irc> [imagefiles...]

16 or 256 or irc: number of colors to use. In case of 'irc' the output will be on stdout. Ideal for piping into xclip or irc client. IRC palette is based my own urxvt palette, YMMV.
u or n: unicode or normal characters, final images will be half in size if using unicode

DEPENDS
=======

It requires the python bindings for the gd library (eg. http://aur.archlinux.org/packages.php?ID=27603).