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

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

img2txt-2008.11.19.tar.gz (268.2 kB view hashes)

Uploaded Source

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