From c62789a6c3c2998cdc94d60166a0d269dce8db68 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Mon, 17 Mar 2025 16:44:56 -0700 Subject: Use bilinear scaling --- icat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'icat.go') diff --git a/icat.go b/icat.go index 15f10d1..01f0400 100644 --- a/icat.go +++ b/icat.go @@ -47,7 +47,7 @@ func printImg(filename string, cols, lines int) error { } dst := image.NewRGBA(image.Rect(0, 0, cols, 2*lines)) - draw.CatmullRom.Scale(dst, dst.Bounds(), img, img.Bounds(), draw.Over, nil) + draw.BiLinear.Scale(dst, dst.Bounds(), img, img.Bounds(), draw.Over, nil) for y := 0; y < 2*lines; y += 2 { for x := 0; x < cols; x++ { -- cgit v1.3.1