Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image/jpeg: "fill bytes" not supported #4337

Closed
gopherbot opened this issue Nov 3, 2012 · 4 comments
Closed

image/jpeg: "fill bytes" not supported #4337

gopherbot opened this issue Nov 3, 2012 · 4 comments
Milestone

Comments

@gopherbot
Copy link

by jsummers3456:

In a JPEG file, extra 0xff bytes immediately preceding a marker are called "fill
bytes", and are supposed to be ignored. Go fails to decode any file that contains
fill bytes.

Test case: Use jpeg.Decode() to read the attached file.

Expected result: The image is decoded successfully.

Actual result: Error: "unsupported JPEG feature: unknown marker"

Compiler: 6g
OS: Linux
Version: devel +8a65cc8e918e Sat Nov 03 02:22:37 2012 +0800

Attachments:

  1. fbtest.jpg (1243 bytes)
@robpike
Copy link
Contributor

robpike commented Nov 4, 2012

Comment 1:

Labels changed: added priority-later, removed priority-triage.

Owner changed to @nigeltao.

Status changed to Accepted.

@nigeltao
Copy link
Contributor

nigeltao commented Nov 5, 2012

Comment 2:

Can you describe how that test image was generated?

@gopherbot
Copy link
Author

Comment 3 by jsummers3456:

I don't know of any applications that write fill bytes, if that's what you're asking. I
created it artificially.

@nigeltao
Copy link
Contributor

nigeltao commented Nov 7, 2012

Comment 4:

This issue was closed by revision 64b3e59.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants