gif2txt icon indicating copy to clipboard operation
gif2txt copied to clipboard

Gif image to Ascii Text

gif2txt

Gif image to to Ascii Text. (Just a toy)

See also img2txt.

DEMO

HTML:

  • http://hit9.github.io/gif2txt/examples/out.html
  • http://hit9.github.io/gif2txt/examples/withcolor.html
  • http://hit9.github.io/gif2txt/examples/greenscreen.html
  • http://hit9.github.io/gif2txt/examples/reversegreenscreen.html
  • http://hit9.github.io/gif2txt/examples/pacman.html

USAGE

python gif2txt.py test.gif -m 80 -o examples/out.html
python gif2txt.py test.gif -m 80 -o examples/withcolor.html -c
python gif2txt.py pacman.gif -o examples/pacman.html -c --green-screen-sensibility 128
python gif2txt.py test.gif -r -o examples/reversegreenscreen.html

Requirements

  • Jinja2
  • Pillow
pip install -r requirements.txt