GIFmeta can add new frames to an existing GIF: an image file (PNG, JPEG or WebP) or a copy of a frame that is already there. The image must have the same size as the GIF.
With the desktop app
Insert an image
- Open the GIF and select the frame the image should come after.
- Click โ Insert imageโฆ (or press I) and pick one or more images โ or drop the files onto the window.
- The new frames are marked new. Change their delay, drag them into place, and ๐พ Save.
Duplicate a frame โ select it and press D. The copy (marked copy) goes right after it. Great for holding a moment longer or building a boomerang.
Remove an inserted image or a copy with โซ.
With the command line
# insert logo.png before frame 3
gifmeta mod input.gif --insert 3=logo.png -o with-logo.gif
# append an end card (10 frames โ before frame 10 = at the end), shown for 2 s
gifmeta mod input.gif --insert 10=the-end.png --insert-delay 200 -o with-end.gif
# replace frame 3: insert before it and delete it
gifmeta mod input.gif --insert 3=fixed.png --delete 3 -o replaced.gif
# hold the first frame three times as long
gifmeta mod input.gif --duplicate 0,0 -o hold.gif
Repeat --insert for several images. Without --insert-delay, an inserted image uses the delay of the frame it
is inserted before.
Good to know
- Wrong size? GIFmeta tells you the image and GIF sizes. Resize the image first (fit / crop options may come later).
- Inserted images are stored as full frames. Images with more than 256 colours are colour-reduced.
- Frames after the inserted image that depended on the old neighbour are rebuilt, so the GIF still plays correctly.