GOPHY

command module
v0.0.0-...-9b8a7f0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 2 Imported by: 0

README

GOPHY

Small Python binding to the GIF module in Golang. Create an animated GIF from an array of image locations.

Supported image types are:

  • PNG
  • JPEG
  • GIF

Usage

Python side
    from gophy import img2gif

    files = ["./res/g1.gif", "./res/g2.gif", "./res/g3.gif"]
    out = "./out.gif"
    fps = 4
    img2gif(files, out, fps)
Golang
	files := []string {"./picture_1.png",
	"./picture_2.png"}

	fps := 2
	out := "./out.gif"

	img2gif.BuildGif(&files, fps, out)

Installation

$pip install git+https://github.com/ritchie46/GOPHY.git

OS

Windows is not yet supported. Tested on Linux, OSx should probably work.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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