nurockplayer / GIF-in-Bash

Draw GIF in Bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GIF-in-Bash

Present GIF in Bash

Demo

Usage: Run " python GIF_bash.py -f 'GIF/sim.gif' " in bash

                GIF in bash                             Original GIF

There are 3 parameters to set.

-s set GIF size (default = 54)
-t set threshold (0~255) (default = 128)
-q set frequency (default = 0.2 sec)

(1) Size of the images (GIF). The image is needed to be resized in order to show in bash.

(2) Threshold. The color are transformed from RGB (2^24 colors) to 8 colors (Colors in bash). As shown in the following figure, we have to determine the boundry properly.

(3) Frequency between each frame.

About

Draw GIF in Bash


Languages

Language:Python 100.0%