OptionalalphaLossy frames: the alpha planes' quality (0-100), see WebPEncodeOptions.alphaQuality. Default: 100
OptionaleffortHow much effort lossy frames take (0-6), see WebPEncodeOptions.effort. Default: 2
OptionalloopHow many times to repeat the animation (-1 = forever, 0 = play once). Default: -1
OptionalmetadataMetadata to include, see Metadata
OptionaloptimizeWhether to store each frame as the area that changed since the frame before and merge identical frames, like
AnimationEncodeOptions.optimize. Default: true
OptionalqualityLossy frames (0-100), see WebPAnimationEncodeOptions.quality. Without it the frames are lossless
OptionalsharpLossy frames: libwebp's sharp YUV conversion, see WebPEncodeOptions.sharpYuv. Default: false
Options of Animation.webpEncoder