I just started using GIMP which is more or less an Open Source version of Photoshop.
When trying to create an animated GIF i ended up spending quite some time Googling for answers, this is how I did it in the end:
- Create your banner images the way you normally would.
- Each frame in the animation needs to be it’s own layer. GIMP will use each layer as animation frames in the order they are listed. I created one Layer Group for each animation frame and named them Frame1, Frame2 etc.
- Add the number of milliseconds you want the frame to be shown to the layer name, e.g. “Frame1 (2000ms)” to show the frame for 2000 milliseconds (2 seconds) before showing the next frame. Make sure you write exactly as I have done, i.e. between parentheses and no space between the number and ms.
- Take a backup copy of your file (File – Save a Copy…) as the following steps will destroy your layers etc
- You cannot do the next step with Layer Groups so you need to make any groups single layers. Do like this for each Layer Group: Make the Layer Group visible (Eye icon should show). Right click the layer and select Merge visible layers. From the popup window select Clipped to image, check Merge within active group only and leave Discard invisible layers unchecked. Click Merge button.
- GIMP needs your image to be in Indexed Mode in order to save it as a GIF. From Image menu select Mode – Indexed. From the popup window leave Color map as Generate optimum palette and Dithering set to None. Click Convert button.
- Export as GIF using File – Export and in the Export Image Dialog make sure to both name the file so it has the .gif extension and also select GIF in the drop down. Click the Export button. From the Export Image as GIF dialog window check the As animation checkbox (and set any of the Animated GIF options you want). Click the Export button.
- Done!
Using GIMP 2.8.4 on Windows.
Many thanks for this posting. I just found out the hard way that animation and layer groups don’t mix yet. I was moving large numbers of layers from one image to another to build up an animation and thought layer groups would help me to save time.
Fortunately layers can be dragged back out of a layer group before deleting the layer group folder in the layers dialogue. It would be useful if Gimp allowed you to extract layers as a batch from the layer group.
So much ‘drag and drop’ so much tension in the shoulders!
If only I had read your post first.