https://github.com/ritchie46/gophy
Create GIF files from images.
https://github.com/ritchie46/gophy
gif-animation gif-maker go images python
Last synced: 7 months ago
JSON representation
Create GIF files from images.
- Host: GitHub
- URL: https://github.com/ritchie46/gophy
- Owner: ritchie46
- License: mit
- Created: 2017-03-09T21:24:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T17:31:22.000Z (over 8 years ago)
- Last Synced: 2025-03-24T14:05:54.025Z (7 months ago)
- Topics: gif-animation, gif-maker, go, images, python
- Language: C
- Homepage:
- Size: 3.81 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
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
```python
from gophy import img2giffiles = ["./res/g1.gif", "./res/g2.gif", "./res/g3.gif"]
out = "./out.gif"
fps = 4
img2gif(files, out, fps)
```### Golang
```go
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.