It is currently Fri Mar 29, 2024 10:32 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Wed Dec 19, 2018 10:38 am  (#31) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Image

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Wed Dec 19, 2018 1:43 pm  (#32) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1195
Krikor wrote:
Pocholo wrote:
Hi Tim. I am sorry if I'm a "doofus" :gaah when it comes to this plugin that you created, but I cannot make it work. I placed the plugin where it suppose to, I done a bunch of thing to see if it appear as you said. When I go to: Layer> Layer Effects, I have the all the filters there: Bevel and Emboss, Color Overlay, Drop shadow... etc. I don't see the "Apply and Save/Load Preset" options. I want to experiment your improved layerfx definition, help me please. Thank you in advance!

I'm a Windows 10 user.

Nidhogg wrote:
Seems to work okay, thank you.
I found an annoyance. If you edit any of the setting files you will get "layerfx_presets.py has messed the internal state blahblah..."
and the only thing to fix it, is to delete the corresponding setting file.
Wanted to test if it was possible to remove a single layer style from a preset.

@Pocholo hi,
On December 15th last, I received this error message:
GIMP Error
Plug-in crashed: "layerfx_presets.py"
(C:\Users\...\plug-ins\layerfx_presets.py)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.


Since then the menus for the layerfx_presets plugin have disappeared. After several unsuccessful attempts I gave up trying to use the plugin.

But after reading the @Nidhoog post, I had an idea, and luckily I finally got the plugin's menus back up.

Thank you for your help!


@krikor; I still can't be able to see the layerfx Preset menu. It only gives me the Layer> Layer Effects menu. I put the file inside: C:\Users\User\AppData\Roaming\GIMP\2.10\plug-ins, like it suppose to and it doesn't even give me an error at least to have hope that is running in my Gimp. Maybe is a thing with Windows 10 or my PC.

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Wed Dec 19, 2018 2:23 pm  (#33) 
Offline
GimpChat Member

Joined: Dec 19, 2018
Posts: 158
Pocholo wrote:
@krikor; I still can't be able to see the layerfx Preset menu. It only gives me the Layer> Layer Effects menu. I put the file inside: C:\Users\User\AppData\Roaming\GIMP\2.10\plug-ins, like it suppose to and it doesn't even give me an error at least to have hope that is running in my Gimp. Maybe is a thing with Windows 10 or my PC.


Hi Pocholo,
In the folder C: \ Users \ ... \ 64bit \ bin remove all files of type bevel_and_emboss, color_overlay, drop_shadow, gradient_overlay, inner_glow, inner_shadow, outer_glow, satin and stroke.
Remove all these files. - ( All files generated by layerfx_presents in bin folder (delete all) )

Try it and see if the layerfx_presents menu will now appear.


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Wed Dec 19, 2018 4:30 pm  (#34) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1195
Krikor wrote:
Pocholo wrote:
@krikor; I still can't be able to see the layerfx Preset menu. It only gives me the Layer> Layer Effects menu. I put the file inside: C:\Users\User\AppData\Roaming\GIMP\2.10\plug-ins, like it suppose to and it doesn't even give me an error at least to have hope that is running in my Gimp. Maybe is a thing with Windows 10 or my PC.


Hi Pocholo,
In the folder C: \ Users \ ... \ 64bit \ bin remove all files of type bevel_and_emboss, color_overlay, drop_shadow, gradient_overlay, inner_glow, inner_shadow, outer_glow, satin and stroke.
Remove all these files. - ( All files generated by layerfx_presents in bin folder (delete all) )

Try it and see if the layerfx_presents menu will now appear.


Thank you for your help, I don't have that folder because in order that layerfx_presets.py generate that folder, probably is by execution. When I start Gimp, on the process, I can see the plugins that are starting in Gimp. Only layerfx.py shows up but not layerfx_presets.py.

If you're running Windows and the plugin works for you, that mean there is something in my PC that won't let this plugin start. Thanks again.

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Wed Dec 19, 2018 11:13 pm  (#35) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Pocholo,
try renaming "layerfx_presets.py" to something short like "a.py" and see if that does anything for you. It's worth a shot to see what happens.

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 12:55 am  (#36) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1195
Tim, I rename the file but somehow the plugin is not registering in Gimp. I open the pluginrc and only the layerfx.py is there but layerfx_presets is not there.

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 10:02 am  (#37) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
This is some odd ball.... I am so confused right now

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 10:09 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
New logo style, Znoritos! Wolf a bag and go to sleep.
NOTE! I'm using large font sizes with my custom styles, so that they can be used in HQ images and scaled down if needed.
If you apply these on standard 72p, they will obviously look bad and strange.
This was done with HandelGothic Bold 516p, white.
The example below is 50% of the original size.

Image

Settings

Drop Shadow:
Znoritos|(image,layer,(0, 0, 0), 100.0, 0, 0.0, 28, 100.0, 100.0, 120.0, 0.0, False, False)
Outer Glow:
Znoritos|(image,layer,(255, 0, 0), 100.0, 3, 0.0, 0, 26.0, 40.0, False, False)
Stroke:
Znoritos|(image,layer,(0, 0, 0), 100.0, 28, 15.0, 100.0, False)
Inner Shadow:
Znoritos|(image,layer,(206, 218, 216), 100.0, 0, 0.0, 3, 1, 100.0, 12.0, -55.0, 8.0, False)
Inner Glow:
Znoritos|(image,layer,(255, 255, 255), 100.0, 0, 0.0, 28, 1, 100.0, 4.0, False)


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 11:29 am  (#39) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Thanks again for sharing your presets Nidhogg

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 3:25 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Nov 28, 2018
Posts: 41
Location: Brazil
Nidhogg wrote:
New logo style, Znoritos! Wolf a bag and go to sleep.
NOTE! I'm using large font sizes with my custom styles, so that they can be used in HQ images and scaled down if needed.
If you apply these on standard 72p, they will obviously look bad and strange.
This was done with HandelGothic Bold 516p, white.
The example below is 50% of the original size.

[ Image ]

Settings

Drop Shadow:
Znoritos|(image,layer,(0, 0, 0), 100.0, 0, 0.0, 28, 100.0, 100.0, 120.0, 0.0, False, False)
Outer Glow:
Znoritos|(image,layer,(255, 0, 0), 100.0, 3, 0.0, 0, 26.0, 40.0, False, False)
Stroke:
Znoritos|(image,layer,(0, 0, 0), 100.0, 28, 15.0, 100.0, False)
Inner Shadow:
Znoritos|(image,layer,(206, 218, 216), 100.0, 0, 0.0, 3, 1, 100.0, 12.0, -55.0, 8.0, False)
Inner Glow:
Znoritos|(image,layer,(255, 255, 255), 100.0, 0, 0.0, 28, 1, 100.0, 4.0, False)


Very nice preset! It has a comic-like feel, I like it very much.
How did you achieve such a smooth look? My results get very "sharp" edges, I usually need to use some repair filter of G'MIC after applying all the layer styles to have a somewhat smooth edge.


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Thu Dec 20, 2018 6:18 pm  (#41) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
@Dionisio, The Znoritos is based on....Doritos! The American tortilla chip brand owned by Pepsi.
You shouldn't need to use G'mic or anything else to fix your edges, it's all about tweaking and fine-tuning if you want smoother look.
I often use drop shadow for the outermost stroke. 100% opacity, zero distance, Blend mode normal.
It should be perfectly smooth with 100% spread but you can lower spread to 96-98 and the edges will be just bit smoother.
Very useful when white, it works same time as a base for other effects that expand over the edges of your text layer.
Pay attention to the choke and spread settings, there's also soften box in bevel & emboss structure.
And use bigger font sizes. If you play with too small text, you will have less pixels which means it never can be that smooth.


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Fri Dec 21, 2018 9:41 am  (#42) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
trandoductin wrote:
Thanks again for sharing your presets Nidhogg

You're welcome.....

Image

Plastic Ferminator (Font Terminator Real NFI, 186p)
Canvas 2000x160
Nothing like the original, couldn't figure out a method to repeat angled gradient individually on each letter so I used normal gradient with triangular repetition.
When I was testing bevel & emboss separately, the outlook looked more metallic.
I guess it has something to do with the execution order of the effects, whether one decides to merge them and final order of layers.

Drop Shadow:
Ferminator|(image,layer,(255, 255, 255), 100.0, 0, 0.0, 28, 98.0, 8.0, 135.0, 2.0, False, False)
Gradient Overlay:
Ferminator|(image,layer,'FG to BG (RGB)', 0, 2, False, 100.0, 30, 0.0, 0.0, -45.0, 100.0, False)
Inner Shadow:
Ferminator|(image,layer,(0, 0, 0), 80.0, 6, 0.0, 30, 1, 45.0, 10.0, -100.0, 2.0, False)
Outer Bevel:
Ferminator|(image,layer,0, 12.0, 0, 6.0, 3.0, 170.0, 30.0, 11, (255, 255, 255), 31, 80.0, (0, 0, 0), 30, 75.0, 0, False, 'Pine', 100.0, 100.0, False, False)
Stroke:
Ferminator|(image,layer,(229, 229, 229), 100.0, 31, 5.0, 100.0, False)
Outer Glow:
Ferminator|(image,layer,'FG to BG (RGB)', 100.0, 5, 0.0, 28, 30.0, 6.0, False, False)


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Fri Dec 21, 2018 11:14 am  (#43) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Thanks Nidhogg,
I thought I would create a topic on GL with collection of these presets
https://www.gimplearn.net/viewtopic.php ... 551#p22551

So that users can quickly browse though Showcase to see/search for the one(s) they like
https://www.gimplearn.net/showcase.php? ... casebegins

Also wrote a (very short) blog post about it here

This collection could be a start of something new. I hope it'll grow like Custom Fonts where we have over 480 custom fonts now on GL.

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Fri Dec 21, 2018 12:08 pm  (#44) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
That's cool. I'll create account soon so that I can upload my future styles on your forum.


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Fri Dec 21, 2018 12:08 pm  (#45) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Great! Thanks a million!

Just attach your preset preview image as an attachment (that way it'll show up on showcase).

_________________
TinT


Top
 Post subject: Re: Apply and Save/Load Preset Script for Layer Effects (Experimental)
PostPosted: Fri Dec 21, 2018 3:22 pm  (#46) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Flashback to 80s.
Font: Brighter, 300p.

Image

Color Overlay:
Flowida|(image,layer,(255, 255, 255), 100.0, 28, True)
Drop Shadow:
Flowida|(image,layer,(0, 0, 0), 100.0, 0, 0.0, 28, 90.0, 24.0, 125.0, 15.0, False, False)
Stroke:
Flowida|(image,layer,(205, 159, 188), 100.0, 28, 12.0, 100.0, True)


Top
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts script to load text file and create text layer

6

No new posts Attachment(s) Unable to load an image as layer

16

No new posts Attachment(s) Apply Selection to Layer with LIVE PREVIEW

6

No new posts Watch Folder and load image as layer

1

No new posts Attachment(s) GEGL Jelly - Apply on Duplicate Layer above and use eraser

3



* Login  



Powered by phpBB3 © phpBB Group