GIMP Chat
http://gimpchat.com/

Export all layers to GBR files script request (SOLVED)
http://gimpchat.com/viewtopic.php?f=9&t=7763
Page 1 of 1

Author:  Rod [ Mon Jul 01, 2013 9:40 pm ]
Post subject:  Export all layers to GBR files script request (SOLVED)

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

Author:  Rod [ Mon Jul 01, 2013 11:09 pm ]
Post subject:  Re: Export all layers to GBR files script request

Found this one
http://registry.gimp.org/node/24606

But it saves a directory of images as GBR files.

Author:  Graechan [ Tue Jul 02, 2013 1:46 am ]
Post subject:  Re: Export all layers to GBR files script request

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)

Author:  Rod [ Tue Jul 02, 2013 2:17 am ]
Post subject:  Re: Export all layers to GBR files script request

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.

Author:  rich2005 [ Tue Jul 02, 2013 2:42 am ]
Post subject:  Re: Export all layers to GBR files script request

Re-inventing the wheel? Although, a very new wheel ;)

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

Image

Author:  Graechan [ Tue Jul 02, 2013 2:49 am ]
Post subject:  Re: Export all layers to GBR files script request

I think the 'gimp-file-save' format is doing this maybe saving as gbr will fix 'file-gbr-save'

Author:  dinasset [ Tue Jul 02, 2013 3:00 am ]
Post subject:  Re: Export all layers to GBR files script request

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

Author:  Rod [ Tue Jul 02, 2013 3:47 am ]
Post subject:  Re: Export all layers to GBR files script request

Richard that worked! :)
Thanks for the information on the script.

Thanks dinasset.

Author:  LucivaldoSP [ Sat Aug 14, 2021 12:22 pm ]
Post subject:  Re: Export all layers to GBR files script request (SOLVED)

Where could I find this GBR conversion script?

Author:  rich2005 [ Sat Aug 14, 2021 12:58 pm ]
Post subject:  Re: Export all layers to GBR files script request (SOLVED)

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

Author:  LucivaldoSP [ Sat Aug 14, 2021 1:08 pm ]
Post subject:  Re: Export all layers to GBR files script request (SOLVED)

Marvel, @rich2005. Thank you very much. You are always very considerate.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/