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.0.9.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file gif2ascii-0.0.9.tar.gz
.
File metadata
- Download URL: gif2ascii-0.0.9.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 | 56a423b61a399d834510bbb281c49f7d7f6c118c2f59522c92e3944b49d253eb |
|
MD5 | d8f1a5a563b28651226c74d711d24a28 |
|
BLAKE2b-256 | 839acd3ea241be68e535b46879a04c5bfa53115381f68be08cc3f712721a3a00 |
File details
Details for the file gif2ascii-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: gif2ascii-0.0.9-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 | c197b6f31f1e2ee7c53ac6a565dcd09b3f74b2f26d7b622df986a0f3751450c2 |
|
MD5 | cbc6d46194983eeab66ba9c187cc0fbe |
|
BLAKE2b-256 | 0d4cb01e6d3f77209db116b0d4d6172e50d5d22ae46d0b6dde970d24f378a97d |