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
I am getting this error when trying to load a saved WEBP file:
Exception thrown: 'System.Exception' in quick-picture-viewer.exe Failed WebPGetFeatures with error VP8_STATUS_BITSTREAM_ERROR In WebP.Decode
This code I am using to open the JPG image:
Bitmap bmp = new Bitmap(path);
This code I am using to save the WEBP image:
using (WebP webp = new WebP()) webp.Save(bmp, path);
This code I am using to load the WEBP image:
byte[] rawWebP = File.ReadAllBytes(path); using (WebP webp = new WebP()) { WebPDecoderOptions decoderOptions = new WebPDecoderOptions(); decoderOptions.use_threads = 1; decoderOptions.alpha_dithering_strength = 100; Bitmap bmp = webp.Decode(rawWebP, decoderOptions); // error here }
This image that I am trying to save and load: image.zip
P.S. Looks like Windows Explorer is rendering the thumbnail of the saved WEBP file correctly so I think there are no issues with the saving function:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting this error when trying to load a saved WEBP file:
This code I am using to open the JPG image:
This code I am using to save the WEBP image:
This code I am using to load the WEBP image:
This image that I am trying to save and load: image.zip
P.S.
Looks like Windows Explorer is rendering the thumbnail of the saved WEBP file correctly so I think there are no issues with the saving function:
The text was updated successfully, but these errors were encountered: