Skip to main content

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


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.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

gif2ascii-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file gif2ascii-0.1.1.tar.gz.

File metadata

  • Download URL: gif2ascii-0.1.1.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

Hashes for gif2ascii-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e0c546f43f02ddf9928a7cc7d53f7b75f6e24d65ad911b9c902901f218787dfc
MD5 05cce5f3607399256ad21cbbd72e7981
BLAKE2b-256 0fa042d457a494640c60a524a0be71132077a1f6c5325fd02ddc07667c6d4ad4

See more details on using hashes here.

File details

Details for the file gif2ascii-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gif2ascii-0.1.1-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

Hashes for gif2ascii-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44b417c4d776b8e1b0324e50cb98f4ad087203b7c928432b84d5ba06cdd3e1f2
MD5 ab2615c5369921c9eb38292d0b2dd02f
BLAKE2b-256 75f6112206e6348316b3bf5960cd2f6fb6d999f30d972e60ad34d5a8b41a5926

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page