Gif
- JavaScript/Typescript
- Python
Arguments#
| Parameter | Type | Description |
|---|---|---|
| fps | number | Sets the frames per second for the output GIF |
| loop | number | How many times to loop (-1 = looping, 0 = infinite loop) |
| scale | number | Sets the width of the GIF and automatically determines height to preserve aspect ratio |
undefined Full class reference is below
Typing#
Caveats#
- All files in the input array must be of same type
- String paths are only supported in node