Open
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
go version go1.8.3 windows/amd64
What operating system and processor architecture are you using (go env
)?
set GOARCH=amd64
set GOOS=windows
What did you do?
See https://play.golang.org/p/-1XYQAzugF
Trying to decode a bitmap png file which both chrome and photoshop can open without errors.
What did you expect to see?
A decoded png image, since no bitmap format is defined mapped to a 8-bit file?
What did you see instead?
png: invalid format: too much pixel data
To my understanding this is a valid png file and according to the spec a decoder should be able to read all valid png files though it may not be able to encode them.