Is it possible to add a background image to all 'layers' of an animated gif?


Question

I have an animated gif with transparent background, and I want to add a background image to all layers:

enter image description here

How can I achieve it without adding it to every layer individually?

1
8
4/24/2014 7:21:00 AM

Accepted Answer

In the GIMP it is possible with the multi-layers-merger extension from here:

(original) http://registry.gimp.org/node/26135

(archived project) https://github.com/pixlsus/registry.gimp.org_static

(location of plugin extension within that project) https://github.com/pixlsus/registry.gimp.org_static/tree/master/registry.gimp.org/files/

Install the extension, then

  1. Create a new image the same size as your animation, and put your background image in a single layer in the new image.

  2. Go to Layers > Multi Layers Merger

  3. Deselect all the options but "Use only active layer". This means to only merge the active layer of the background image.

  4. Make sure the "Second Image to merge with" dropdown is the image with your animation frames in it

  5. Click OK, and a new image should be created with your background behind each frame.

7
7/2/2019 3:12:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow


Website under construction!!!
^