It is currently Sun Aug 16, 2026 4:48 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Export all layers to GBR files script request (SOLVED)
PostPosted: Mon Jul 01, 2013 9:40 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
I am requesting a script that will select every layer in my image and export each one as a colored OR grayscale brush.
I would also like to name the first brush and have all the others get a new name...like this
flower-brush_RD-1 <-- i name first brush
all other brushes get named
flower-brush_RD-2
flower-brush_RD-3
ect..ect..ect
I looked online for such a script but couldn't find one.
In short a batch layer to GBR script.
Alas scripting this is beyond my scope of scheme code understanding.

Thanks!


This would be very handy when using the ABR loader filter and changing each image to my liking then changing each layer to a gimp brush file. :bigthup

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Mon Jul 01, 2013 11:09 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
Found this one
http://registry.gimp.org/node/24606

But it saves a directory of images as GBR files.

_________________
Image


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 1:46 am  (#3) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
I'm glad you found it, I noticed it used 'file-save' whereas I think 'gbr-save' may have been better

I think as it is the script could be used to save a file to any other file extn type (something worth remembering)

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 2:17 am  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
Thanks Graechan.
The only problem with this script is it takes all the png images and gives them white bg's before converting to GBR. So they are no longer useful as a brush imo. :)
hrmmm...maybe if i save as a GIF first? Seems like PNG would allow alpha though.

_________________
Image


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 2:42 am  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2612
Re-inventing the wheel? Although, a very new wheel ;)

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

Image


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 2:49 am  (#6) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
I think the 'gimp-file-save' format is doing this maybe saving as gbr will fix 'file-gbr-save'

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 3:00 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
opening a set of .abr brushes, with abr.exe, saving them as .xcf files, giving them as input to batch_brushes will convert all to .gbr, with transparency

_________________
"Where am I ?"


Top
 Post subject: Re: Export all layers to GBR files script request
PostPosted: Tue Jul 02, 2013 3:47 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
Richard that worked! :)
Thanks for the information on the script.

Thanks dinasset.

_________________
Image


Top
 Post subject: Re: Export all layers to GBR files script request (SOLVED)
PostPosted: Sat Aug 14, 2021 12:22 pm  (#9) 
Offline
GimpChat Member

Joined: Jul 30, 2021
Posts: 12
Where could I find this GBR conversion script?


Top
 Post subject: Re: Export all layers to GBR files script request (SOLVED)
PostPosted: Sat Aug 14, 2021 12:58 pm  (#10) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2612
LucivaldoSP wrote:
Where could I find this GBR conversion script?


Which one? The export layers python plugin has been updated and you can find it here: https://github.com/khalim19/gimp-plugin-export-layers

That will export layers to all gimp file formats including gbr.

If it is a PS .abr brush, then the plugin to open one as layers is here: https://www.gimp-forum.net/Thread-Batch ... 3#pid14963


Top
 Post subject: Re: Export all layers to GBR files script request (SOLVED)
PostPosted: Sat Aug 14, 2021 1:08 pm  (#11) 
Offline
GimpChat Member

Joined: Jul 30, 2021
Posts: 12
Marvel, @rich2005. Thank you very much. You are always very considerate.


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group