gifresize is a simple go package for transforming animated GIFs.
Import using:
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.
Frames in an animated gif aren't necessarily the same size, subsequent
frames are overlayed on previous frames. Therefore, resizing the frames
individually may cause problems due to aliasing of transparent pixels. This
package tries to avoid this by building frames from all previous frames and
resizing the frames as RGB.