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 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

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

@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 the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 11, 2016
@bradfitz bradfitz added this to the Unplanned milestone May 11, 2016
@ALTree
Copy link
Member

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

@josharian
Copy link
Contributor

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

cc @nigeltao

@josharian josharian removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 11, 2016
@josharian josharian modified the milestones: Go1.8, Unplanned May 11, 2016
@subinwalter
Copy link
Author

subinwalter commented May 12, 2016

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

@nigeltao
Copy link
Contributor

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.

@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
Development

No branches or pull requests

6 participants