gipher

command module
v0.0.0-...-aa0fa3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2015 License: MIT Imports: 14 Imported by: 0

README

gipher

A GIF generator made with Go.

Get it

$ go get github.com/castillobg/gipher

Usage

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.

Example

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/!

Ducks

To-dos

  • Add tests.
  • Support images of different size.
  • Add quiet mode.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL