I am reading this tutorial on how to create GIF animations in GIMP.


The tutorial says,

In GIMP you specify the delay as a layer comment. Just double-click the layer comment in the layers’ window and a delay in ms enclosed in brackets ().

I have several hundred frames. Is there a way to add this text procedurally versus typing the comments all in by hand? Thanks.

  • 1
    You can change the delay when you export a GIF, no need to do them one by one.
    – Billy Kerr
    Mar 3, 2019 at 10:25
  • Sorry I wasn't clear. I only want most of the frames to have the same delay. Some need to be different.
    – posfan12
    Mar 3, 2019 at 11:49
  • 1
    Is it hundreds of frames that need to be different, or just a few? The GIF export dialog allows you to change frame delays that are unspecified, so it won't change those you have already specified.
    – Billy Kerr
    Mar 3, 2019 at 12:02
  • That's nice, but I'm really more interested in an answer to my question.
    – posfan12
    Mar 3, 2019 at 12:08
  • I'm asking you a question to help clarify your question. Is it hundreds of frames that need to be different, or just a few?
    – Billy Kerr
    Mar 3, 2019 at 12:09

1 Answer 1


See retime-linked-layers-0.0.py. Should be self-explanatory. Remember that you can mass-change the "link" status of layers by shift-clicking the chain icon.

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.