go run src/test.go
panic: runtime error: index out of range
goroutine 1 [running]:
github.com/nfnt/resize.imageYCbCrToYCC(0x18416140, 0x12)
/dev/src/github.com/nfnt/resize/ycc.go:220 +0x5af
github.com/nfnt/resize.Resize(0x1f4, 0x0, 0x810bf00, 0x18416140, 0x5, 0x0, 0x184000f0)
/dev/src/github.com/nfnt/resize/resize.go:173 +0x320a
main.main()
/dev/src/test.go:20 +0xa0
exit status 2
The image is attached. It is a movie poster. The error appears with any InterpolationFunction. What can I do?
Hi. This simple code generate a panic error:
Message:
The image is attached. It is a movie poster. The error appears with any
InterpolationFunction
. What can I do?