It is currently Thu Jun 18, 2026 4:14 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Run Code on Visible Layers Script for GIMP
PostPosted: Tue Feb 27, 2018 3:14 pm  (#21) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14030
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
Ofnuts is correct,
in that it is more practical to do it on one layer.
The one layer,
with all the characters on it is how I would do it now.
I find that putting each character on it's own layer from the start,
is less practical and I would no longer do it this way at the start.
After all the effects or whatever was needed was done and merged into one layer.
I would use the DivideTransBG.scm,
which adds the Break Apart By Alpha filter to Gimp.
To break apart the characters into separate layers.
Making sure to incorporate things like the dot over the "i" and "j".
Back where they belong and anything not connected to a character.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Run Code on Visible Layers Script for GIMP
PostPosted: Wed Feb 28, 2018 12:07 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Hi Tin.
The ability to separate (add) commands using a semicolon (;) is a great thing
Small addition: Choose on what layers.

ps.In the next version, I would like you to add support for the layer group :yes


Attachments:
Run code.png
Run code.png [ 165.67 KiB | Viewed 1327 times ]
Run_Code_On_Selected_Layers.zip [1.3 KiB]
Downloaded 89 times

_________________
Image
Top
 Post subject: Re: Run Code on Visible Layers Script for GIMP
PostPosted: Wed Feb 28, 2018 12:58 pm  (#23) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
great idea MareroQ,
available in version 3 of script.

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Run Code on Visible Layers Script for GIMP
PostPosted: Wed Feb 28, 2018 6:56 pm  (#24) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4693
I had done all my fonts with the single layer, making all my changes, and then separating into layers with Break apart with alpha. Thought I would try the other way. There are advantages to both. With Break apart with alpha, you must go name each layer individually. However, I found with Font to Layers, all are nicely named but if you use BRL to visible layers, you lose the names. Tin, is there anyway to save the names?


Top
 Post subject: Re: Run Code on Visible Layers Script for GIMP
PostPosted: Wed Feb 28, 2018 10:12 pm  (#25) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
I'll look into it right now. There should be.

UPDATE: try version 2 python script here which tries to keep layer names

I was going to make this same change in scheme version of script as well but it looks like this change was already done for scheme version (originally suggested by Grachaen).

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group