diff --git a/processor.go b/processor.go index 7072569..8401453 100644 --- a/processor.go +++ b/processor.go @@ -180,7 +180,7 @@ func (p *processor) resizeFrame( // Crop image to fit destBounds and put it into dst dst.Image[index] = image.NewPaletted(destBounds, srcPalette) - draw.Draw(dst.Image[index], destBounds, fittedImage.SubImage(destBounds), destBounds.Min, draw.Src) + draw.Draw(dst.Image[index], destBounds, fittedImage, destBounds.Min, draw.Src) return nil }