Adjust frame timing and loops in a two-frame GIF
Admin ·
A frame that marks a change often needs more screen time than the frame before it. Build a short signal animation and give its two frames different delays. Reimport the download to check the timing independently of how fast your viewer appears to play it.
Put the teal signal first and slow down the red frame
Download the red PNG and teal PNG below. Add the red frame before the teal one. Both use a transparent 120 × 80 canvas. Select Earlier on the teal row to put it first.
Set frame 1 to 80 ms and frame 2 to 190 ms. Keep the output at 120 × 80, keep transparency and choose up to 16 colors. Choose Set number of plays and enter 2. Generate the GIF and select Play preview. The teal signal appears first, followed by the longer red signal.
| Frame order | Setting | What to inspect |
|---|---|---|
| 1 · Teal | 80 ms | The tall teal mark appears first. |
| 2 · Red | 190 ms | The wider red mark stays on screen longer. |
| Playback | 2 total plays | The sequence is 270 ms per play. The first play is followed by one repetition. |
Download the red signal frame (PNG)Download the teal signal frame (PNG)GIF89a specification, color tables and graphic controls
Reimport the GIF and check its timing
Download the GIF, clear the timeline and add the downloaded file. Check that the timeline shows the teal frame first, delays of 80 and 190 ms, and 2 total plays. A viewer can choose its own display timing, especially for very short frames.
In a transparent animation, inspect the corners and the area where the first mark extends above the second. The GIF clears each full frame before showing the next. If those areas should match a solid page background, turn off Keep transparency, choose the intended color and regenerate.
GIF89a specification, color tables and graphic controlsImageMagick animation loop option
Choose a crop or padding for mixed dimensions
Each frame shares the output width and height. Crop to fill clips the long side at the center. Fit with padding keeps the whole frame. Try a square canvas with the two sample frames and compare the edges of the wider red mark.
Choose a smaller palette if a simple animation uses only a few colors. Reopen the exported GIF and look at gradients and text edges. A larger palette can reduce visible steps between colors.
Common questions
Do I need to start over to edit a GIF I already have?
Add the GIF to an empty timeline. The editor imports its displayed frames. You can reorder or remove them, change the delays and export a new animated file.
Which file size setting keeps a GIF under a specific upload limit?
Check the actual download size. Lower the palette, reduce the canvas or remove frames and export again. Platform limits can apply separately.
Sources and example images
Put it into practice.
Related guides
- Export one displayed GIF frame
- Still GIF palette and transparency guide
- How to Resize an Image by Pixels or Percentage
- Verify Timing and Pitch after Speeding Up Video
- Check a Trimmed MP4 with Its Audio Track Removed
- Verify GIF Timing from a Two-Second Video Clip
- Check an Animated GIF After Compression
- How to Animate PDF Pages as a GIF
- Check GIF Frame Order in a PDF