gifstitch

command module
v0.0.0-...-8892a6d Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

README

gifstitch

This project is a simple program to combine multiple source GIF animation files into a single merged animation. A list of source files is provided, as well as an optional list of loop counters, and a master file is aggregated by appending each animation's frames n number of times where n is either 1 or the provided number of loops.

Usage

To install, you can run:

go install github.com/haleyrc/gifstitch

Then in the directory with your source files, run:

gifstitch --files FILELIST [--loops LOOPLIST -o OUTPUTFILE]

where FILELIST is an ordered, comma-separated list of file names to append and LOOPLIST is an ordered, comma-separated list of loop counters for each file.

Note that if --loops is provided, the number of counters provided MUST be equal to the number of source files provided.

OUTPUTFILE is the name of the file to create. If no output file is given, the default name of merged.gif will be used.

TODO

  • Better support for files outside of the working directory.
  • Piped input support to help with scripting.
  • A server implementation demo.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package stitch is a simple wrapper around the standard libraries gif.GIF type that enables easy combination of multiple source files into a single merged animation.
Package stitch is a simple wrapper around the standard libraries gif.GIF type that enables easy combination of multiple source files into a single merged animation.

Jump to

Keyboard shortcuts

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