It is currently 20 Feb 2018, 21:22

GIMP Python Fu ScriptsRename Layers Script For Animated .gifs animation (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
Post Reply
User avatar
trandoductin

Forum Member
View: Showcase | Slideshow
Topic Posts: 1/4
Posts: 189
Joined: 26 Sep 2016, 00:21
Cash on hand: 317.58 GLP
Gender: Guy
Location: Canada
Website: https://gimplearn.net
x 7
Contact:
Canada

Rename Layers Script For Animated .gifs animation

Post#1 by trandoductin » 05 Oct 2016, 04:12


When creating an animated .gif in GIMP.
You can control how long each frame is delayed for by adding for example ' (100ms)' after the layer name.
Also, if you want the frame to replace the content of the previous layer you can add ' (replace)' after that so a layer name can be something like 'Frame 1 (100ms) (replace)'
Having to rename the layers manually is very painful.
So that's why this script is here to aid in renaming files for .gif animations.
:download:
rename_layers_for_animation.zip #
zipped .py (unzip it and put in your GIMP's plug-ins folder)
(1.58 KiB) Downloaded 266 times
rename_layers_01_menu_location.png
script's menu location
rename_layers_01_menu_location.png # (33.24 KiB) Viewed 1266 times (Watermarked | Thumbnail)
rename_layers_02_plugins_options.png
script's options
rename_layers_02_plugins_options.png # (16.84 KiB) Viewed 1266 times (Watermarked | Thumbnail)
Layer Name Prefix is the name you want to name the layer with.
delay(ms) is number of milliseconds to delay each frame for
Add '(replace)' if YES will add the string '(replace)' to very end of frame/layer name
Only Apply to visible layers, if YES will only apply/rename to visible layers
0 x



T.
please don't message me, message tim(admin) instead as I am tim(admin). I don't check this account very often.
To message tim(admin), click here. Thanks.

Registered members enjoy ads-free content
User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 1/4
Posts: 2232
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,251.55 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 470
United States of America

Post#2 by Pat625 » 03 May 2017, 23:28


Tin,
Thank you for this script. Each time I try to do an animation, I use this script. It saves a lot of time.
0 x




User avatar
Issabella
Script Tester
View: Showcase | Slideshow
Topic Posts: 1/4
Posts: 1962
Joined: 19 Jan 2017, 11:42
Cash on hand: 17,162.78 GLP
Gender: Gal
Operating System: Windows
x 231
x 505
Spain

Post#3 by Issabella » 04 May 2017, 09:38


Thank you so much Tin, it works great and it's really useful. :gimp_clap:
0 x



Issabella

User avatar
RJKD
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 1/4
Posts: 1353
Joined: 03 Oct 2016, 13:01
Cash on hand: 10,349.49 GLP
Bank: 0.00 GLP
Gender: Guy
Location: Sheffield UK
Operating System: Windows
GIMP Version: 2.8.20
x 1490
x 210
Contact:
Great Britain

Post#4 by RJKD » 04 May 2017, 10:03


Thank you so much for your hard work and making ours that much easier, your a star.
2 x




Post Reply

Last 20 Members Who Visited This Topic

User avatar tim (3), User avatar gnerd (4)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: animicule
2: Conbagui
3: gnerd
4: tim
5: Ella
6: Ella
7: Conbagui

Who is online

Users browsing this forum: No registered users and 2 guests