We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to decode a ppm I get that error, however when I write the data to a .ppm file my image reader reads the image fine.
f, _ := os.Create(fileName) f.Write(b.Bytes()) f.Close() reader := bytes.NewReader(b.Bytes()) _, err := pnm.Decode(reader) if err != nil { fmt.Println(err) return }
any ideas as to why I might be getting this error?
The text was updated successfully, but these errors were encountered:
Could you attach or link to the image data so I can test it?
Sorry, something went wrong.
No branches or pull requests
When trying to decode a ppm I get that error, however when I write the data to a .ppm file my image reader reads the image fine.
any ideas as to why I might be getting this error?
The text was updated successfully, but these errors were encountered: