It is currently Fri Jul 05, 2024 12:39 am


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
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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
GimpChat Member
User avatar

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

But it saves a directory of images as GBR files.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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: 4827
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
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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: 2438
Re-inventing the wheel? Although, a very new wheel ;)

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

Image

_________________
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: 4827
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: 14816
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
GimpChat Member
User avatar

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

Thanks dinasset.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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: 2438
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

_________________
Image


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 ]


   Similar Topics   Replies 
No new posts Attachment(s) Export Layers - new features

2

No new posts Attachment(s) Export as layers not working

5

No new posts Attachment(s) Export Layers by Khalim19 as batch action proces.

3

No new posts Attachment(s) Trying to open as layers 3 til files Red, Green, Blue, Filter images

2

No new posts Attachment(s) Batch export all opened images script for GIMP [Update]

13



* Login  



Powered by phpBB3 © phpBB Group