Gimp-Forum.net
Animations and Layers editor - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Animations and Layers editor (/Thread-Animations-and-Layers-editor)



Animations and Layers editor - SeanRickard - 01-24-2024

I'm new here, so hi.

After optimising for an animation, is there a way of exporting the list showing in the Layers Editor as a text fiile?

For Example:
----------------

img001.jpg(100ms)
img002.jpg(2000ms)
img003.jpg(200ms)
.... etc

cheers Sean.


RE: Animations and Layers editor - Ofnuts - 01-24-2024

(01-24-2024, 08:26 AM)SeanRickard Wrote: I'm new here, so hi.

After optimising for an animation, is there a way of exporting the list showing in the Layers Editor as a text fiile?

For Example:
----------------

img001.jpg(100ms)
img002.jpg(2000ms)
img003.jpg(200ms)
.... etc

cheers Sean.

Obtain the image ID from the image window title bar (in single windows mode, make sure this is the active image)

[attachment=11057]

Open the Python console, and copy paste this, and replace the "5"  by the actual image ID. Strike [Enter] until a list appears:

Code:
for layer in reversed([img for img in gimp.image_list() if img.ID==5][0].layers): print layer.name

Copy-paste the result.


RE: Animations and Layers editor - SeanRickard - 01-25-2024

Awesome, that hit the spot, cheers Sean.