Make a Sharp, Small GIF From a Screen Recording
Screen-recording GIFs swell past 20 MB when high frame rates, wide dimensions, and speckled dithering fight LZW compression.
Short answer
Set width to 480 px or 640 px, lower frame rate to 10–12 fps, turn dithering to Clean, and keep delta transparency on. Mapping unchanged UI pixels to the transparent color slot cuts typical screen-recording GIFs by 70 percent. Open the Video to GIF Maker to see exact kilobyte totals live.
Why a 2 MB MP4 screen capture turns into a 20 MB GIF
Modern MP4 encoders predict motion across dozens of frames and compress blocks in frequency space. By contrast, GIF89a stores each frame as horizontal runs of 8-bit color slots compressed with a 4,096-entry LZW dictionary.
Exporting a Retina 1920 × 1080 recording at 30 fps feeds 62 million pixels through that dictionary in one second. Adding error-diffusion dithering scatters alternating dots across flat menus, destroying horizontal runs and multiplying file size.
Recommended GIF settings by recording type and upload limit
Matching width, frame rate, palette mode, and dithering to the visual content keeps text legible without hitting GitHub or chat caps:
| Use case | Width & FPS | Palette & dither | Typical 4 s size |
|---|---|---|---|
| GitHub PR or README UI demo | 640 px · 12 fps | Global 256 · Clean · Delta on | 250 KB – 650 KB (well under 10 MB cap) |
| Slack or ticket bug capture | 480 px · 10 fps | Global 256 · Clean · Delta on | 140 KB – 400 KB |
| Mobile 9:16 app walkthrough | 320 px · 12 fps | Global 256 · Clean · Delta on | 180 KB – 500 KB |
| 3D gradient or shader loop | 480 px · 15 fps | Per-frame 256 · Ordered Bayer | 1.2 MB – 2.8 MB |
| Live camera reaction clip | 480 px · 15 fps | Per-frame 256 · Floyd-Steinberg | 1.8 MB – 4.2 MB |
Worked example: Clean UI preset vs camera gradient preset
Open the 640 px Clean UI preset in Video to GIF Maker. In a typical app demo, 85 to 92 percent of toolbars and sidebars stay still between frames.
Under GIF89a Disposal Method 1, pixels within ΔRGB ≤ 6 of the prior screen map to transparent slot 255. The encoder also crops each frame header to the smallest rectangle around the moving cursor, shrinking kilobytes by ~70%.
For camera footage with sky or skin gradients, open the 480 px Per-Frame Bayer Boomerang preset. Ordered 4×4 Bayer dithering smooths color bands without random frame-to-frame grain.
Four steps before you export
- Trim dead pauses first. Shaving two idle seconds at the start or in MP4 Video Compressor & Lossless Trimmer cuts frame count right away.
- Crop out desktop wallpaper and browser tabs. Choosing a tight aspect ratio removes noisy background gradients that waste palette slots.
- Export a PNG frame strip for static docs. When a help page prints or loads slowly, save a tiled storyboard and shrink it in Image Compressor or Image Resizer.
- Switch to MP4 or WebM past 8 seconds. Longer tutorials stay ten times smaller with audio in MP4 Video Compressor & Lossless Trimmer or Video Cutter.
Sources
- CompuServe Incorporated: Graphics Interchange Format (GIF89a) Specification (checked 2 December 2026), §23 for Graphic Control Extension disposal methods and transparency.
- ISO/IEC 14496-12: ISO Base Media File Format (ISOBMFF) (checked 2 December 2026), for MP4 and MOV container frame timing.
- MDN Web Docs: CanvasRenderingContext2D.getImageData() (checked 2 December 2026), documenting browser RGBA pixel extraction.
Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.