Skip to content
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

Exception thrown when decoding animated WEBP images #6

Closed
gsemac opened this issue Feb 4, 2022 · 1 comment
Closed

Exception thrown when decoding animated WEBP images #6

gsemac opened this issue Feb 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@gsemac
Copy link
Owner

gsemac commented Feb 4, 2022

An exception is thrown by the decoder when attempting to decode animated WEBP images:

System.Exception: Can´t encode WebP
In WebP.Decode
   at WebPWrapper.WebP.Decode(Byte[] rawWebP)
   at Gsemac.Drawing.Imaging.WebPImageCodec.DecodeWebPBitmap(Stream stream)
   at Gsemac.Drawing.Imaging.WebPImageCodec.Decode(Stream stream)
   at Gsemac.Drawing.ImageFactoryBase.FromStream(Stream stream, IFileFormat imageFormat)
   at Gsemac.Drawing.Extensions.ImageFactoryExtensions.FromFile(IImageFactory imageFactory, String filePath)

This issue is noted in WebP-wrapper's issue tracker: JosePineiro/WebP-wrapper#27

According to the developer it's already been fixed, so recompiling WebPWrapper.dll with the latest source should resolve the problem.

@gsemac gsemac added the enhancement New feature or request label Feb 4, 2022
@gsemac gsemac changed the title Exception thrown when loading animated WEBP images Exception thrown when decoding animated WEBP images Feb 4, 2022
@gsemac gsemac added bug Something isn't working and removed enhancement New feature or request labels Feb 4, 2022
@gsemac
Copy link
Owner Author

gsemac commented Mar 4, 2022

Resolved with commit 62071c9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant