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.3.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file gif2ascii-0.1.3.tar.gz
.
File metadata
- Download URL: gif2ascii-0.1.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b13e559e9e85506550ef3b80ee9120ee9acc6f7a957eec23f1e18ed86eb7165e |
|
MD5 | c4246d066c82d21bfbb6785da1d1044c |
|
BLAKE2b-256 | 9182408b0d4951731b88e647e80add724c1f8456aef268625054db40ee2dd2ed |
File details
Details for the file gif2ascii-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: gif2ascii-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.6 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 | 1ddbaf720c18b0b8f2d101650e22709b7d17be04f555553255ef2c6944354448 |
|
MD5 | 85569071f7050901edfe8414f08fc803 |
|
BLAKE2b-256 | 6fe8454e0acbe3f98a85686f6a498657bcd8adc2c6e2f3a1eb88d4ce2714f7f7 |