Optionalpalette: null | Uint8Array<ArrayBufferLike>The global color palette.
Add a frame to the gif.
buffer should match the expected size based on width, height.Returns the gif buffer.
Sets the repeat count for the gif. If the value is -1, the gif will repeat infinitely; otherwise, the gif will repeat a value number of times.
Create a new encoder.