From d1bb3cc575a9f6f1bc5d00067ff8e39a61a2e5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20C=C3=A9sar=20Batista?= <102628724+ejulio-ts@users.noreply.github.com> Date: Fri, 14 Apr 2023 15:52:50 -0300 Subject: [PATCH] Update lib/xgif/xgif.go Co-authored-by: gavin-ts <85081687+gavin-ts@users.noreply.github.com> --- lib/xgif/xgif.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xgif/xgif.go b/lib/xgif/xgif.go index 52d9ba188..f6d1389ea 100644 --- a/lib/xgif/xgif.go +++ b/lib/xgif/xgif.go @@ -65,7 +65,7 @@ func AnimatePNGs(pngs [][]byte, animIntervalMs int) ([]byte, error) { } palettedImg, ok := gifImg.(*image.Paletted) if !ok { - return nil, fmt.Errorf("decoded git image could not be cast as *image.Paletted") + return nil, fmt.Errorf("decoded gif image could not be cast as *image.Paletted") } // 2. make GIF frames of the same size, keeping images centered and with a white background