The delay for this frame in units of 10ms (e.g., a value of 10 equals 100ms).
How the current frame should be disposed of when moving to the next one.
Height of the frame.
True if the image is interlaced.
The horizontal offset of the frame relative to the left of the canvas.
Indicates whether this frame requires user input to proceed.
The vertical offset of the frame relative to the top of the canvas.
OptionaltransparentAn optional index of a transparent color in the palette.
Width of the frame.
The buffer of this frame.
The frame's palette.
Sets the frame's palette.
Optionalval: null | Uint8Array<ArrayBufferLike>StaticfromCreates a frame from hex pixel data.
buffer should match the expected size based on width, height.Optionalspeed: null | numberStaticfromCreates a frame from indexed pixel data.
buffer should match the expected size based on width, height.Optionalpalette: null | Uint8Array<ArrayBufferLike>Optionaltransparent: null | numberStaticfromCreates a frame from RGB pixel data.
buffer should match the expected size based on width, height.Optionalspeed: null | numberStaticfromCreates a frame from RGBA pixel data.
buffer should match the expected size based on width, height.Optionalspeed: null | number
A GIF frame.