From 9be602f94f532d99d1cb8c18c1ce6d0afee07814 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Nov 2025 21:39:12 +0530 Subject: [PATCH] ... --- tools/utils/images/to_rgba.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/utils/images/to_rgba.go b/tools/utils/images/to_rgba.go index 5e6a68301..992873327 100644 --- a/tools/utils/images/to_rgba.go +++ b/tools/utils/images/to_rgba.go @@ -8,6 +8,7 @@ import ( "math" "github.com/kovidgoyal/imaging" + "github.com/kovidgoyal/imaging/nrgba" "github.com/kovidgoyal/kitty/tools/tty" ) @@ -57,7 +58,7 @@ func (self *Context) run_paste(src imaging.Scanner, background image.Image, pos } func (self *Context) paste_nrgba_onto_opaque(background *image.NRGBA, img image.Image, pos image.Point, bgcol *imaging.NRGBColor) { - src := imaging.NewNRGBAScanner(img) + src := nrgba.NewNRGBAScanner(img) if bgcol == nil { self.run_paste(src, background, pos, func([]byte) {}) return