Update lib/xgif/xgif.go
Co-authored-by: gavin-ts <85081687+gavin-ts@users.noreply.github.com>
This commit is contained in:
parent
492db16e92
commit
d1bb3cc575
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue