All Projects → esimov → gifter

esimov / gifter

Licence: MIT license
Gif image renderer running in terminal.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to gifter

image-optimizer
Image optimization using PHP
Stars: ✭ 28 (-36.36%)
Mutual labels:  gif
cuber
优美而强大的网页魔方
Stars: ✭ 32 (-27.27%)
Mutual labels:  gif
cgolGo
Conway's Game of Life in Golang
Stars: ✭ 38 (-13.64%)
Mutual labels:  gif
giphygram
🔎 Experimental React application for searching GIF images on GIPHY
Stars: ✭ 23 (-47.73%)
Mutual labels:  gif
e.xec.sh
Search and display gifs in your terminal 🦄
Stars: ✭ 51 (+15.91%)
Mutual labels:  gif
TTFancyGifDialog-Android
TTFancyGifDialog makes your Android Dialog Fancy and more Beautiful. A library that makes normal Android Dialog to high level Dialog with many styling options and fully customizable. Make dialog from few lines of code.
Stars: ✭ 61 (+38.64%)
Mutual labels:  gif
PyGameofLife
Conway's Game of Life using python's matplotlib and numpy
Stars: ✭ 40 (-9.09%)
Mutual labels:  gif
GTA-One-Liners
A collection of gifs made out of almost every dialogue in GTA and other games.
Stars: ✭ 37 (-15.91%)
Mutual labels:  gif
video2gif
A batch script for convert video to GIF files by FFmpeg.exe on Windows
Stars: ✭ 48 (+9.09%)
Mutual labels:  gif
SwiftyGiphy
A UI and API layer for Giphy discovery and integration.
Stars: ✭ 90 (+104.55%)
Mutual labels:  gif
tweet2gif
Download videos in tweets as GIFs
Stars: ✭ 22 (-50%)
Mutual labels:  gif
mpv-gif-generator
Creates animated gifs using mpv hotkeys
Stars: ✭ 32 (-27.27%)
Mutual labels:  gif
conway
Conway's game of life
Stars: ✭ 27 (-38.64%)
Mutual labels:  gif
SSffmpegVideoOperation
This is a library of FFmpeg for android... 📸 🎞 🚑
Stars: ✭ 261 (+493.18%)
Mutual labels:  gif
AppThinning
Make app thinner. Help you find large files and compress png, gif, jpg, svg files. 应用程序瘦身工具,帮助你找到大文件,压缩png、gif、jpg、svg等文件。
Stars: ✭ 22 (-50%)
Mutual labels:  gif
FunVideo
A series of embeddable theme into video, include animation and voice.
Stars: ✭ 19 (-56.82%)
Mutual labels:  gif
videos-to-gif
takes video(s) and associated subtitle files and creates gifs for every line of dialogue
Stars: ✭ 29 (-34.09%)
Mutual labels:  gif
dot-screencap
A screencapturing library
Stars: ✭ 31 (-29.55%)
Mutual labels:  gif
codegif
Use Canvas API to make a gif animation
Stars: ✭ 32 (-27.27%)
Mutual labels:  gif
Open-Imaging
Tools and libraries that deal with the creation and processing of images.
Stars: ✭ 100 (+127.27%)
Mutual labels:  gif

Gifter

Gifter is a gif renderer running in terminal. It takes a gif file as input and plays it directly in the terminal window. It's fully customziable by the supported command flags. Gifter is build on top of termbox-go.

Sample gif

Install

$ go get -u -v github.com/esimov/gifter

Note: The terminal must have xterm-256color mode enabled.

Prior running the code make sure that GOPATH environment variable is set. Check the documentation for help: https://golang.org/doc/code.html#GOPATH.

Run

You can run the code by the following command: go run sysioctl.go terminal.go image.go main.go <gif file>. But the more elegant way is to generate the binary file using go install. After this you can run the code as:

$ gifter <gif file>

To finish the gif animation press <ESC>, CTRL-C, CTRL-D or q key. You can even set up the number of iterations the gif file should run with the -loop flag. The animation will stop after reaching the provided iteration number.

Commands:

Type gifter --help for the supported commands:

Usage of commands:
  -cell string
    	Used unicode character as cell block (default "▄")
  -loop uint
    	Loop count (default 18446744073709551615)
  -fps int
    	Frame rates (default 120)
  -out string
    	Create a new GIF file with the background color removed (default "output.gif")
  -rb
    	Remove GIF background color

Note: there is a flickering issue playing non transparent background gif images. For this reason the -rb flag is included. When this flag is used a new gif file is generated with the most dominant color removed (which in most cases is the background color). But for the best visual experience it's advised to use gif files with transparent background.

Author

License

Copyright © 2017 Endre Simo

This software is distributed under the MIT license. See the LICENSE file for the full license text.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].