You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
use image.jpeg.Decode to decode some jpeg files one of which has been attached.
If possible, include a link to a program on play.golang.org.
the program is quite simple as below:
package main
import (
"fmt"
"image/jpeg"
"os"
)
func main() {
if len(os.Args) != 2 {
return
}
f, err := os.Open(os.Args[1])
if err != nil {
fmt.Println(err.Error())
return
}
defer f.Close()
img, err := jpeg.Decode(f)
if err != nil {
fmt.Println(err.Error())
return
}
_ = img
}
What is the expected output?
no output
What do you see instead?
unsupported JPEG feature: luma downsample ratio
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
ubuntu 12.04.1 x86_64
Which version are you using? (run 'go version')
1.0.3
Please provide any additional information below.
https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/Soo54p35dmk
by steve.wangbin:
Attachments:
The text was updated successfully, but these errors were encountered: