0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2025-01-06 22:40:34 -05:00
imageproxy/vendor/willnorris.com/go/gifresize/README.md

16 lines
598 B
Markdown
Raw Normal View History

2015-11-26 15:41:45 -05:00
# gifresize [![GoDoc](https://godoc.org/willnorris.com/go/gifresize?status.svg)](https://godoc.org/willnorris.com/go/gifresize) [![Apache 2.0 License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat)](LICENSE)
gifresize is a simple go package for transforming animated GIFs.
Import using:
```go
import "willnorris.com/go/gifresize"
```
Then call `gifresize.Process` with the source io.Reader and destination
io.Writer as well as the transformation to be applied to each frame in the GIF.
See [example/main.go][] for a simple example.
[example/main.go]: ./example/main.go