How Video to GIF Works
AnyTool converts a video to an animated GIF entirely in the browser, with no ffmpeg and no upload. It loads the clip in a native <video> element, seeks to evenly-spaced timestamps across the chosen start/duration at the selected FPS, draws each frame to a <canvas> scaled to the target width, and reads back the RGBA pixels. Each frame is quantised with gifenc's median-cut algorithm to a per-frame palette (64/128/256 colours by quality) and written to the GIF stream with a centisecond delay derived from the FPS, looping infinitely. Because it uses the browser's built-in decoder plus a fast WASM-free encoder, it starts instantly — there is no 32 MB ffmpeg core to download, which is the main reason competing browser tools are slow to begin.
- Runs client-side — the video is never uploaded
- Native <video>+<canvas> decode — no ffmpeg, instant start
- Per-frame median-cut palette (gifenc) for accurate colour
- Trim, FPS, width and quality (64/128/256 colours) controls
- Infinite loop; centisecond frame delay from FPS
- No CDN, no backend, no file-size cap
