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:
parent
b2ae3a5840
commit
66fcba95a0
1 changed files with 1 additions and 2 deletions
3
third_party/gifresize/gifresize.go
vendored
3
third_party/gifresize/gifresize.go
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue