From 70e3b595b02977e90c533756a8837c019d51d182 Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 24 Jul 2020 18:49:50 +0100 Subject: Make sideways() work on any image.Image --- wipesides_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'wipesides_test.go') diff --git a/wipesides_test.go b/wipesides_test.go index 8aa68ff..660cb16 100644 --- a/wipesides_test.go +++ b/wipesides_test.go @@ -117,8 +117,6 @@ func TestWipeSides(t *testing.T) { t.Fatalf("Could not open file %s: %v\n", c.filename, err) } b := img.Bounds() - gray := image.NewGray(b) - draw.Draw(gray, b, img, b.Min, draw.Src) rotimg := sideways(img) b = rotimg.Bounds() intImg := integralimg.NewImage(b) -- cgit v1.2.1-24-ge1ad