OptionalcolorsThe maximum colors in each frame's palette (2-256, including transparency). Frames with fewer colors keep them exactly; otherwise ImageScript chooses representative colors
OptionalditherHow to spread small color changes across nearby pixels to make gradients look smoother with few colors, see DitherMethod
OptionalditherHow strongly to apply dithering: 0 disables it (like 'none'); 1 applies it fully
OptionalmetadataMetadata to include, see Metadata
Options of Image.encodeGIF, and of Animation.encodeGIF with GIFAnimationEncodeOptions