mirror of
https://github.com/willnorris/imageproxy.git
synced 2025-03-04 02:02:56 -05:00
16 lines
598 B
Markdown
16 lines
598 B
Markdown
|
# gifresize [](https://godoc.org/willnorris.com/go/gifresize) [](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
|