Gif to ASCII
Project description
gif2ascii
Example using command line
python -m gif2ascii -f anime.gif -w 80
python -m gif2ascii -f anime.gif --fit-terminal
python -m gif2ascii -f hehe.jpg -c ABCDEF -d 0.1
Example using Code
from gif2ascii import GifAscii
file_name = 'test.gif'
width = 80
GifAscii(file_name, width).output()
Available Options to constructor
file_name - Name of the file to convert
-- optional params --
width - width in chars for output
frame_delay - Delay between frames in GIF while rendering to terminal
fit_terminal - Ignores width, takes the entire terminal size
chars - specify chars for ASCII text (fat characters gives better results)
loop_gif - you know what it is :p (ctrl + c to end)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gif2ascii-0.1.0.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file gif2ascii-0.1.0.tar.gz
.
File metadata
- Download URL: gif2ascii-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a2d5b9dda715225f43bfe29d8aeb0a9d11dc52df69e32ee0adae3e30fcd1ee |
|
MD5 | d542e2e6ab9f96122dc2162c74e6d4f6 |
|
BLAKE2b-256 | 4bf645f2d56103c66b7c415faa69fe25acf9b58a31d6648d5f3e7d0f1c7067f3 |
File details
Details for the file gif2ascii-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gif2ascii-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28de192345e574b906f3fd92ed1c1d345749c1a5b6b84505526d518cce18560b |
|
MD5 | 8fde74abb98b867facd7654ce71b401a |
|
BLAKE2b-256 | 4e2a1fdd34ab89b2cf470697f457ef3aeabcbdcd44164ecbdd8ac582428027fe |