0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

don't drop error from gif.EncodeAll

This commit is contained in:
Will Norris 2015-05-18 15:15:54 -07:00
parent b2ae3a5840
commit 66fcba95a0

View file

@ -53,8 +53,7 @@ func Process(w io.Writer, r io.Reader, transform TransformFunc) error {
im.Image[index] = imageToPaletted(transform(img))
}
gif.EncodeAll(w, im)
return nil
return gif.EncodeAll(w, im)
}
func imageToPaletted(img image.Image) *image.Paletted {