Options of Animation.webpEncoder
Use WebPAnimationEncodeOptions, with AnimationOptions.loopCount: this will be removed in 4.0
Options of Animation.webpEncoder