Applying a convolution on an image obtained via a call to img.SubImage(rect)
leads to a index out range error.
What steps will reproduce the problem?
go run main.go (attached)
What is the expected output? What do you see instead?
We do not expect an exception to be raised.
What version of the product are you using? On what operating system?
- go version: 1.2.2-1
- latest version of graphics-co
- up-to-date Archlinux