gsemac / Gsemac.Common

A collection of .NET utilities for use across my projects
MIT License
7 stars 3 forks source link

WebPImageCodec does not correctly decode animated WEBP images #8

Open gsemac opened 2 years ago

gsemac commented 2 years ago

Since #6 was resolved, animated WEBP images no longer throw an exception when decoding. However, the decoded image is simply a black box. This appears to be a problem with how WebP-wrapper is implemented: JosePineiro/WebP-wrapper/issues/27

This could be resolved by implementing the decoder myself and forgoing the dependency on WebP-wrapper, or adding special handling for animated WEBP images, which can already be detected through the Animation property on IImage.