15

How do I open a .gif in gimp, edit the frames, and save it without the final product being a still image? I alredy know how to make a .gif but I want to be able to take a pre-existing .gif and just edit the frames

2

1 Answer 1

29

Editing GIFs can be complex if it has lots of frames. You need to edit each frame individually, and this can be tedious. Anyway, it is possible. Here are the steps.

  1. To open click File > Open, navigate to the GIF file, select it and open it. The image will open with each frame as a layer.

  2. Click Filters > Animation > Unoptimise - this will make the frames easier to edit, the unoptimised image will open as a new document.

  3. Click Image > Mode > RGB - to make the colours editable

  4. You can navigate the frames using the layers panel. You can switch off layers by clicking the Eye icon for each layer.

  5. Edit the image layers (frames) as you wish. Remember each layer is a frame of the animation. So, if you want to add something you might need to add it on a new layer, and then duplicate that layer and place a copy between each frame layer you wish to add it to, and then merge each copied layer down to the frame layer.

  6. To preview the animation, click Filters > Animation > Playback

  7. When you are happy with everything click Filters > Animation > Optimise for GIF. This will optimise the GIF, and keep the file size smaller, and it will also open the optimised image as a new document.

  8. Click File > Export As, choose GIF as the file type. Hit Export.

  9. When the Export dialog appears, choose "as animation". Hit Export.

  10. If you want to save the XCF file for editing in the future, close the optimised GIF document, then click File > Save as.

4
  • 1
    For item 5), there are several scripts that makes it easy.
    – xenoid
    Commented Mar 14, 2018 at 10:00
  • You're the best ! Even better in video : youtube.com/watch?v=jkLJAntbfY4. Even if youtube removes your hard description work, keep on !
    – Tinmarino
    Commented Dec 10, 2019 at 15:59
  • @xenoid: Which ones?
    – Michaël
    Commented Mar 5, 2020 at 20:38
  • For instance ofn-interleave-layers. There is a also a set of scripts called "AnimStack" IIRC.
    – xenoid
    Commented Mar 5, 2020 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.