-
Notifications
You must be signed in to change notification settings - Fork 18k
image/jpeg: Invalid SOS parameters for sequential JPEG #3916
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
Labels
Comments
relevant golang-nuts discussion: https://groups.google.com/d/msg/golang-nuts/wvwDIfuPmlw/WPMWfglu5XUJ |
Attaching the sample image from the mailing list thread that reportedly shows this behavior. Attachments:
|
Owner changed to @nigeltao. Status changed to Accepted. |
This issue was closed by revision 5f7bec6. Status changed to Fixed. |
nigeltao
added a commit
that referenced
this issue
May 11, 2015
…eader. ««« backport 4a67b1f1e771 image/jpeg: send a correct Start Of Scan (SOS) header. Section B.2.3 of http://www.w3.org/Graphics/JPEG/itu-t81.pdf discusses the End of spectral selection (Se) byte. Apparently many JPEG decoders ignore the Se byte (or let it through with a warning), but some configurations reject them. For example, http://download.blender.org/source/chest/blender_2.03_tree/jpeg/jcmaster.c has these lines: if (Ss != 0 || Se != DCTSIZE2-1 || Ah != 0 || Al != 0) ERREXIT1(cinfo, JERR_BAD_PROG_SCRIPT, scanno); Fixes #3916. R=r CC=golang-dev https://golang.org/cl/6459052 »»»
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by LewGun:
The text was updated successfully, but these errors were encountered: