-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/image/webp: Missing RIFF Chunk Header #30712
Comments
Thanks for reporting this. Can you attach (or give a link to) the image that trigger the issue? It also would be nice to have a complete, runnable reproducer (that includes a main function). |
Thanks for responding this, here is the image and for main function
Maybe the function is not working, cause i change the format from webp to jpeg, but i can't find webp encoder function in webp package, so i just tried to save the resized image. Thanks a lot |
@yaput , Can you double check that the file contents are what you think they are. I downloaded your file (sha1sum dafb30bfe35c7296052f9279d2368d4e92d509e0) and it decoded fine, without errors.
|
Hi @antong , found something, it is not in the webp package, but maybe i did something wrong when downloaded the image from url with golang. After i tried to download the image from browser, it works. Maybe i will find another way around to store the image before resizing it. Thanks! |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Decoded webp
What did you see instead?
riff: missing RIFF chunk header
The text was updated successfully, but these errors were encountered: