Skip to main content

takes a jpeg, gif, etc... image file & outputs it as colorized ascii art.

Project description

################################################################################
this is a moderately complex python3.0 script fully utilizing python2.6
extensions, & demonstrated to run under python2.6 via py3to2.
for performance, portions of it have been inlined w/ direct C code using
scipy.weave. the algorithm also heavily uses bitwise operations.
it takes a jpeg, gif... image file & outputs it in colorized ascii art.
the actual purpose is for colorized 3-d scientific plotting in text
terminal (screenshots of image conversion & 3d plots in putty terminal
included)

AUTHOR:
kai zhu
kaizhu@ugcs.caltech.edu

REQUIREMENTS:
- posix/unix os (Windows currently unsupported)
- py3to2
- Python Imaging Library
- scipy

USAGE:
note "mario.jpg" must b in current directory for test to work
$ py3to2 -c "import img2txt; img2txt.img2txt.test()"
$ py3to2 -c "import img2txt; img2txt.tplot3d.test()"

CHANGELOG:
20081119
fixed bugs in setup.py

Download files

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

Files for img2txt, version 2008.11.19
Filename, size File type Python version Upload date Hashes
Filename, size img2txt-2008.11.19.tar.gz (268.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