How to Export a GIF Animation in GIMP
Exporting an animated GIF in GIMP is a straightforward process that involves organizing your animation frames into layers and using the correct export settings. This guide provides a step-by-step walkthrough for turning your GIMP layers into a looping animation, configuring frame delays, and optimizing the final file size.
Step 1: Prepare Your Animation Layers
GIMP treats individual layers as the separate frames of your animation. Before exporting, ensure your project is properly structured:
- Open the Layers Dialog (Ctrl+L) to view your frames.
- Arrange the layers from bottom to top. GIMP plays animations starting from the bottom layer and moving upward.
- Ensure all layers are the exact same dimensions to avoid formatting issues.
Step 2: Preview the Animation
Before saving, it is best practice to test how the final product will look:
- Go to the top menu and select Filters.
- Hover over Animation and click Playback.
- Click the Play button in the preview window to check the frame order and timing.
Step 3: Configure the Export Settings
Once you are satisfied with the preview, you are ready to export the file:
- Click on File in the top menu and select Export As… (or press Shift+Ctrl+E).
- Choose your destination folder.
- In the Name field at the top, type your file name
followed by the
.gifextension (e.g.,my_animation.gif). Alternatively, expand the Select File Type menu at the bottom and select GIF image. - Click Export. A new configuration window will appear.
Step 4: Adjust GIF Options for Animation
In the pop-up menu that appears, you must specify that the file should be saved as an animation rather than a static image:
- Check the box that says As animation. If you skip this, GIMP will flatten your layers into a single static picture.
- Check Loop forever if you want the animation to repeat continuously.
- Set the Delay between frames where unspecified. This number is measured in milliseconds (e.g., 100 milliseconds equals 10 frames per second).
- Set the Frame disposal where unspecified dropdown. Choosing One frame per layer (replace) is generally best for traditional animations, while Cumulative layers (combine) works well if your frames build on top of each other.
- Click Export to finalize and save your animated GIF.