Convert video to a high-quality animated GIF using the palette method. Two-pass: first generates an optimal palette, then uses it to dither.
await toGif({ input: 'clip.mp4', output: 'clip.gif', width: 480, fps: 15 }); Copy
await toGif({ input: 'clip.mp4', output: 'clip.gif', width: 480, fps: 15 });
Convert video to a high-quality animated GIF using the palette method. Two-pass: first generates an optimal palette, then uses it to dither.