ThumbGlance

GIF Frame Extractor and Rebuilder

Split a GIF into PNG frames, then edit their timing and rebuild the GIF.

GIF87a or GIF89a · 12 MiB max · Files stay in this browser.

Choose a GIF or try a sample.

A small GIF you can check pixel by pixel

This 160 × 96 GIF stores four 24 × 24 patches. The PNGs below are full-size frames. Check the same three pixels in all four PNGs: the orange mark stays at (23, 40), the blue mark clears after frame 2, and the yellow mark covers orange at (30, 40) before restoring it. Frame 4 draws a new blue mark farther right.

Download the original GIF · Download the four PNGs

Orange cross and a blue diamond
Frame 2 · 240 ms
A yellow circle over part of the orange cross; the blue diamond is gone
Frame 3 · 360 ms
Pixels in the exported PNGs (x, y from the upper-left, starting at 0)
Frame23, 4060, 4030, 40
1 · 120 msOrangeClearOrange
2 · 240 msOrangeBlueOrange
3 · 360 msOrangeClearYellow
4 · 480 msOrangeClearOrange

“Clear” means alpha is 0, not white. The checkered background is only a preview. Frame 4 adds blue at (128, 40).

For a rebuild check: remove frame 2, select the yellow frame and copy it, then set the copy to 175 ms. Download that rebuilt GIF to compare. Its four frames use 120, 360, 180, and 480 ms and loop indefinitely.

Save one frame or change the animation

  1. Choose a local GIF. Use the numbered buttons to select a frame. The source number and original delay stay visible after edits.
  2. To change the sequence, remove the selected frame or copy it directly after itself. Enter a delay in milliseconds for the selected frame.
  3. Save the selected PNG, download a ZIP of PNGs numbered in the current order, or rebuild the edited GIF.

The rebuilt GIF keeps the source canvas size and loop count, or plays once if the source has no loop setting. The in-page preview plays the sequence once and shows frames with delays below 20 ms for 100 ms.

Limits and sources

Choose one GIF up to 12 MiB, 1,600 px per side, and 150 frames. The total of canvas width × height × frame count must not exceed 24 million pixels. Copies count toward the frame and pixel limits.

GIF stores frame delays in 10 ms steps. The editor rounds half up. Browsers can display very short delays for longer than the GIF specifies. PNG preserves the composed pixels and alpha. The rebuilt GIF uses a palette of up to 255 opaque colors per frame plus transparency, so it may change some colors and have a different file size.

GIF89a §20 and §23: image rectangles, delays and disposal · PNG specification: alpha representation