by dan.pupius:
To reproduce:
- decode the attached image
What is the expected output?
A decoded image. Works in every other image viewer I tried. (Preview, Chrome,
GraphicsMagick)
What do you see instead?
invalid JPEG format: missing 0xff00 sequence
see: http://golang.org/src/pkg/image/jpeg/huffman.go
Which version are you using? (run 'go version')
go version devel +37afbf6361e2 Tue Nov 12 10:03:13 2013 -0800 darwin/amd64
Which version are you using? (run 'go version')
I realize this is an expected error, but given that other viewers manage to decode the
image correctly I wonder if this is truly an error case or can be gracefully handled.
(Pardon my ignorance of the jpeg spec)
Attachments:
- 0*CZbFf74phRAk3ngZ.jpeg (615890 bytes)
by dan.pupius:
Attachments: