The GIF's duration (in ms)
The GIF's height
The GIF's width
StaticdecodeDecodes a GIF into fully composited frames
The binary data to decode
Whether to end GIF decoding after the first frame
Encodes the GIF
1-100, scales the palette size from 8 colors (1) to 256 colors (90 and above)
Resizes the GIF to the given dimensions, scaling every frame and its offsets proportionally. Use Image.RESIZE_AUTO as either width or height to automatically preserve the aspect ratio.
Returns a new GIF containing a range of this GIF's frames (same semantics as Array.prototype.slice)
Optionalstart: numberOptionalend: numberReturns a string representation of an array.
Represents a GIF image as an array of frames. Array methods like map and filter return plain arrays.