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
it errors and output is "image: unknown format" Why should this be happened ? Should I register all the decoder by hand soimage.Decode can work correctly ?
The text was updated successfully, but these errors were encountered:
I'm testing
image.Decode
with a truly PNG file with these pieces of code:with _,err = png.Decode(bytes.NewReader(logo)) appended the
image.Decode
works well,but when I commented out it like this :it errors and output is "image: unknown format"
Why should this be happened ? Should I register all the decoder by hand so
image.Decode
can work correctly ?The text was updated successfully, but these errors were encountered: