Using gimp, I'd like to insert an animate gif into another still image without losing the animation. Is there an easy way to accomplish this in GIMP?

I was able to drag the animated image's layer-group over into the still image, but after doing so (even though that newly added layer-group shows as the top layer within gimp's layering tool) I cannot see any changes to the destination image.

  • 1
    You can't have an animated GIF inside a still image. That would be impossible. But you could have a still image on every frame layer of a GIF animation. I think there's a script that can do this, although I can't remember its name. Also pretty sure it's been mentioned here already on GDSE, I just can't find it right now. – Billy Kerr Aug 10 at 12:23
  • 1
    I've found a script here that could do it: chiselapp.com/user/saulgoode/repository/script-fu/… I haven't tested it yet. – Billy Kerr Aug 10 at 12:31
  • I understand that the end result would have to be an animated image, and not a still image, but I was hoping that Gimp would understand that if a user pastes an animate gif into a still image, it should convert that still image into an animate image. I guess that would be too easy. – Lonnie Best Aug 10 at 12:31
  • 1
    LOL - unfortunately applications don't "understand" things. They are just dumb tools. They can only do what you tell them to do. Yeah, you guessed right - that would be too easy!!! – Billy Kerr Aug 10 at 12:32
  • 1
    The "core" Gimp developers are under 10 people, none of them doing it as his/her day job.... Let them focus on the hard stuff. Gimp is very easy to script and can also be extended by plugins, so many problems have solutions as Gimp add-ons. – xenoid Aug 10 at 15:57

You can do it, you have to merge every frame of the animation over as any copies of the still image. Pretty tedious but there are scripts that will do this for you, see for instance ofn-interleave-layers(you want the "single layer under stack" option, see the HTML doc included in the ZIP).

| improve this answer | |
  • 1
    I wonder if you have you ever been able to get GAP to work in 2.10.x - because that could also be a solution to automation in animated projects. I know it works in 2.8 (kind of). It's a shame GAP hasn't been updated since 2012 – Billy Kerr Aug 10 at 17:11
  • Didn't even try. I prefer to write my own scripts :) – xenoid Aug 10 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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