Adds the next frame: a Frame (with its duration, offsets and disposal) or an image (a frame of 100 ms by default). The options override the frame's. The pixels are copied right away, the image can change afterwards
The frame or image
See FrameOptions
Encodes the rest and returns the file. The encoder can't be used afterwards
Encodes an animation a frame at a time, without keeping all frames in memory: see Animation.webpEncoder, Animation.gifEncoder and Animation.apngEncoder. The file is the one an Animation of the frames encodes to, but for unoptimized WebPs with frames WebP can't store as they are (disposed to the previous frame, or disposed with odd offsets): from the first of them on, the frames are the canvas they show (the same animation, blending rounds differently by 1 at most). APNGs keep their frames compressed until the end: their pixel format depends on all of them