It is currently Wed May 22, 2013 6:44 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Group scripts (python scripts that work on layer groups)
PostPosted: Tue Aug 07, 2012 9:49 am  (#1) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 436
Group offset

This script basically does what Layer>Transform>Offset does, except it works on layer groups. All layers inside the group will be offset, including ones in nested groups - I used a recursive function so it doesn't matter how many levels of nesting there are.

http://registry.gimp.org/node/26996

Should be useful for texture making.


Group change font

This script changes the font and/or font size of all text layers within a layer group. Recursion optional.

http://registry.gimp.org/node/26997


---------------

All scripts install under "Group" top-level menu. I intend making more of these group tools in the future, which will all also install under "Group". If you don't like the creation of another top-level menu, feel free to modify the scripts for yourself.

Also taking requests - if there's anything you'd like to be able to do to a layer group, let me know and I can attempt to make it a reality (if it's not too difficult for me).

All scripts are released under GNU GPLv2.


Last edited by dd on Tue Aug 07, 2012 10:51 am, edited 4 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: Group Offset (python script)
PostPosted: Tue Aug 07, 2012 10:39 am  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9002
Location: "Looking for my eraser" =P
Thanks dd i was wondering when you were going to write another plug-in. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Group scripts
PostPosted: Tue Aug 07, 2012 10:50 am  (#3) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 436
Thanks. I made another one.


Top
 Profile  
 
 Post subject: Re: Group scripts (python scripts that work on layer groups)
PostPosted: Tue Aug 07, 2012 11:18 am  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9002
Location: "Looking for my eraser" =P
I see that.I have a request for a all layers to image size within a group.
I found one - http://registry.gimp.org/node/26310 :)

By the way i have been placing them here...
"<Image>/Layer/Group/ because i have other Python and SCM filters that show there.

Example...

Image


Thanks again.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Group scripts (python scripts that work on layer groups)
PostPosted: Wed Aug 08, 2012 12:48 am  (#5) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 436
You can already crop a layer group to image size in GIMP by simply selecting "layer to image size" on a group. In practice, the layers within the group are simply cropped to image size, but they won't be growed to the image size, so it works kind of weirdly.


Top
 Profile  
 
 Post subject: Re: Group scripts (python scripts that work on layer groups)
PostPosted: Wed Aug 08, 2012 1:06 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9002
Location: "Looking for my eraser" =P
How about a layers to existing group addition?
A lot of times i will be doing some work and realize a few of my layers could have gone into a certain group (not a new one), an existing one. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Group scripts (python scripts that work on layer groups)
PostPosted: Wed Aug 08, 2012 9:58 pm  (#7) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 436
Rod wrote:
How about a layers to existing group addition?
A lot of times i will be doing some work and realize a few of my layers could have gone into a certain group (not a new one), an existing one. :)


Hm, this is actually a bit more complex than it sounds, it would require some kind of interface for selecting the layers and the group, so probably can't be written as a simple gimpfu script... I might get to it at some point though, it would be useful to have.


Top
 Profile  
 

 Post subject: Re: Group scripts (python scripts that work on layer groups)
PostPosted: Thu Aug 09, 2012 9:46 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9002
Location: "Looking for my eraser" =P
Sweet. :)
Thanks.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group