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: failure to decode image #15641

Closed
subinwalter opened this issue May 11, 2016 · 5 comments
Closed

image/jpeg: failure to decode image #15641

subinwalter opened this issue May 11, 2016 · 5 comments

Comments

@subinwalter
Copy link

@subinwalter subinwalter commented May 11, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    go1.6.2 darwin/amd64
  2. What operating system and processor architecture are you using (go env)?
    GOARCH="amd64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="darwin"
    GOOS="darwin"
    GOPATH="/Users/subin/godown/:/Users/subin/gocode/:/Users/subin/gothumbs/"
    GORACE=""
    GOROOT="/usr/local/go"
    GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
    GO15VENDOREXPERIMENT="1"
    CC="clang"
    GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
    CXX="clang++"
    CGO_ENABLED="1"
  3. What did you do?
    encoded and decoded an image using go's image library

image link

  1. What did you expect to see?
    properly encoded jpeg image
  2. What did you see instead?
    the encoded image was all green
@josharian
Copy link
Contributor

@josharian josharian commented May 11, 2016

That image link doesn't work for me. Will you double-check it? Thanks.

Loading

@josharian josharian changed the title Jpeg image decode error all pixel values are decoded to zero the output image is completely green image/jpeg: failure to decode image May 11, 2016
@bradfitz bradfitz added this to the Unplanned milestone May 11, 2016
@ALTree
Copy link
Member

@ALTree ALTree commented May 11, 2016

He formatted it wrong but the link actually works:

http://a.ctimg.net/tKgQBM-TQw2lLz2oPhPZWA/flourless-fruit-tea-cake.jpg

Loading

@josharian
Copy link
Contributor

@josharian josharian commented May 11, 2016

Ah, thanks. Not a regression from 1.6 to 1.7 so marking as 1.8 for now.

cc @nigeltao

Loading

@josharian josharian added this to the Go1.8 milestone May 11, 2016
@josharian josharian removed this from the Unplanned milestone May 11, 2016
@subinwalter
Copy link
Author

@subinwalter subinwalter commented May 12, 2016

hi sorry about the whole image link thing, hope I provided all the info required

Loading

@nigeltao
Copy link
Contributor

@nigeltao nigeltao commented May 22, 2016

This looks like it's fixed in Go tip, which will become Go1.7 in a couple of months.

I suspect that this is a duplicate of #14522.

Loading

@nigeltao nigeltao closed this May 22, 2016
@nigeltao nigeltao removed this from the Go1.8 milestone May 22, 2016
@golang golang locked and limited conversation to collaborators May 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants