MashyBasker / gif-2-ascii

A python script to convert GIF files to ASCII

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gif2ascii

A python script that converts a GIF to ASCII art

Quickstart

Script

$ python -m venv .venv # create virtual environment
$ source .venv/bin/activate # activate the environment
$ pip install -r requirements.txt
$ python gif2ascii.py [path/to/GIF]

Executable

$ chmod +x build.sh
$ g2a [path/to/GIF]

Docker

Needs Docker to be installed. link

$ docker build -t g2a .
$ docker run -it --rm -v /path/to/gif/directory:/app/gifs g2a /bin/bash
root@64fc465126ab:/app# ./entrypoint.sh [path/to/GIF]

Demo

Spinning Cube

Weird Expanding Cubes

About

A python script to convert GIF files to ASCII

License:MIT License


Languages

Language:Python 62.8%Language:Shell 18.7%Language:Dockerfile 18.5%