Skip to content

Interface: GifOptions ​

Options for converting a video segment to an animated GIF.

Properties ​

PropertyTypeDescription
endTimenumberEnd time in milliseconds. Default -1 (end of video).
fpsnumberFrame rate of the GIF. Default 10.
startTimenumberStart time in milliseconds. Default 0.
widthnumberWidth in pixels. Height is auto-calculated to preserve aspect ratio. -1 for original.

Released under the MIT License.