Yes, but not through the WebPAnimDecoder interface. You'd need to use
the demuxer (or manually parse the file) and decode the images with
WebPIAppend/WebPIUpdate. The demuxer will need to be recreated with new
data, however. This is something that we may improve in the future.
Thanks! It would be great to have an I/O abstraction layer like we have in libpng/libtiff/giflib/etc. supported in all libwebp components (decoder, demuxer etc.). The current approach with
WebPIAppend doesn't look like an abstraction and introduces issues with using libwebp in abstract imaging libraries.
пятница, 23 июля 2021 г. в 04:12:59 UTC+3, James Zern: