Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

panic: index out of range when resize some picture #49

Closed
joytry1 opened this issue Jul 1, 2016 · 4 comments
Closed

panic: index out of range when resize some picture #49

joytry1 opened this issue Jul 1, 2016 · 4 comments

Comments

@joytry1
Copy link

joytry1 commented Jul 1, 2016

github.com/nfnt/resize.imageYCbCrToYCC(0xc84cacfc80, 0x14)
D:/Workplace/src/github.com/nfnt/resize/ycc.go:220 +0x821
github.com/nfnt/resize.resizeNearest(0xc8, 0x7d, 0x4023333333333333, 0x4023333333333333, 0x7fb757e33348, 0xc84cacfc80, 0x0, 0x0, 0x0)
D:/Workplace/src/github.com/nfnt/resize/resize.go:415 +0x6b9d
github.com/nfnt/resize.Resize(0xc8, 0x7d, 0x7fb757e33348, 0xc84cacfc80, 0x0, 0x0, 0x0)
D:/Workplace/src/github.com/nfnt/resize/resize.go:96 +0x416
github.com/nfnt/resize.Thumbnail(0xc8, 0x7d, 0x7fb757e33348, 0xc84cacfc80, 0x0, 0x0, 0x0)
D:/Workplace/src/github.com/nfnt/resize/thumbnail.go:54 +0x15f

please help fix this problem :)

@matrixik
Copy link
Contributor

matrixik commented Jul 1, 2016

Hi, please provide picture that trigger this behaviour.

@joytry1
Copy link
Author

joytry1 commented Jul 1, 2016

sorry, I can't found this picture...

@nfnt
Copy link
Owner

nfnt commented Jul 1, 2016

This might be #37, but that's hard to say without an input image. Please provide additional information for us to be able to reproduce this issue.

@nfnt
Copy link
Owner

nfnt commented Jul 19, 2016

Closing this as non-reproducible.

@nfnt nfnt closed this as completed Jul 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants