A GIF generator made with Go.
$ go get github.com/castillobg/gipher
gipher [OPTIONS] [in...] out
in...
is the list of absolute paths to the folders with the .png, .jpg and .jpeg files to be used. The files should be the same size.out
is the absolute path with the name of the output file.
Options:
-d
: The delay between frames, in 100s of a second. Default: 25.
Let's say you have this folder structure:
home/
└── Pictures/
└── ducks/
├── duck_1.jpg
├── ducks.png
├── ducks_2.jpeg
└── img1231.jpg
To create a GIF slideshow of all the duck images, with a 1/2 second delay between each one, you'd run:
$ gipher -d 50 ~/Pictures/ducks/ ~/Pictures/ducks.gif
ducks.gif
will be created in ~/Pictures/
!
- Add tests.
- Support images of different size.
- Add quiet mode.