diff options
author | Nick White <git@njw.name> | 2020-07-24 18:49:50 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-24 18:49:50 +0100 |
commit | 70e3b595b02977e90c533756a8837c019d51d182 (patch) | |
tree | d4521897db2457585c603d13a1f1e404a9803ce7 /wipesides_test.go | |
parent | 41abf458640394dcdf63e874e75b5e06aebd0214 (diff) |
Make sideways() work on any image.Image
Diffstat (limited to 'wipesides_test.go')
-rw-r--r-- | wipesides_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
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) |