It is currently 17 Apr 2021, 13:32
| ||||
| ||||
|
|

Apply and Save/Load Preset Script for Layer Effects (Experimental)

- tim
- View:
|Posts
- Topic Posts: 18/54 | Posts: 5359
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 78,113.62 GLP
- Bank: 387,604,749.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3137
- x 1074
- Contact:
Re: Apply and Save/Load Preset Script for Bevel and Emboss (Experimental)
I can add the rest...but I don't think it'll be able to call more than 1...... as they would have to be built and there's a lot of possible combinations so i don't think we want to call bevel and emboss and inner shadow... you could always call bevel and emboss then call inner shadow.
aka Tin
- tim
- View:
|Posts
- Topic Posts: 18/54 | Posts: 5359
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 78,113.62 GLP
- Bank: 387,604,749.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3137
- x 1074
- Contact:
Okay I just tested with new layer modes and layerfx.py doesn't seem to like it. So i'll leave it as legacy modes.
Now I'll add the rest of other layer effects in for this script.
This might take me a while though.
Now I'll add the rest of other layer effects in for this script.
This might take me a while though.
aka Tin
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.
----------------------------------------------------------------//-------------------------------------------------------------------------------
The plugin was working fine, I was doing some testing, creating presets, saving and then loading in the same and other images.
Until it suddenly stopped working and displays this error message.
I've rebooted the Gimp some 3 or 4 times. Already replaces the layerfx_presets.py file with a new copy. But he's still making that mistake.
Now it's late, I'll be back tomorrow and see if the problem just as it came out of nowhere, it also comes out of nowhere.
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.
----------------------------------------------------------------//-------------------------------------------------------------------------------
The plugin was working fine, I was doing some testing, creating presets, saving and then loading in the same and other images.
Until it suddenly stopped working and displays this error message.
I've rebooted the Gimp some 3 or 4 times. Already replaces the layerfx_presets.py file with a new copy. But he's still making that mistake.
Now it's late, I'll be back tomorrow and see if the problem just as it came out of nowhere, it also comes out of nowhere.

"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
The layerfx_presents plugin after yesterday's error simply doesn't appear in the expected menu.Krikor wrote: ↑15 Dec 2018, 04:19GIMP 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.
----------------------------------------------------------------//-------------------------------------------------------------------------------
I've restarted Gimp several times.
I already changed the file for the original, which came in .zip
I tried to use the Preferences folder (C: \ Users \ ... \ 64bit \ Preferences \ plugins), rather than the folder I had been using before (C: \ Users \ ... \ 64bit \ lib \ gimp \ 2.0 \ plugins). *Then I returned to this one again.
Even Windows has restarted.
But nothing made the layerfx_presets plugin retune to appear on the menu as it should.

The way Samj is expected to launch Portable 2.10.9.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
I see. I meant it in the way of some styles you can download for Photoshop, that apply various parameters to create a specific kind of look - example, a chocolate style that uses a combination of emboss + drop shadow + inner glow.tim wrote: ↑14 Dec 2018, 23:55I can add the rest...but I don't think it'll be able to call more than 1...... as they would have to be built and there's a lot of possible combinations so i don't think we want to call bevel and emboss and inner shadow... you could always call bevel and emboss then call inner shadow.
So I had thought it would go like this: The "chocolate" preset would call one by one of the effects and apply them on the active layer; I however don't even know if this is possible. I am studying your plugin tutorial and enjoying it a lot; to see if perhaps I can help in making these too.
Is the plugin on it's own folder? I had this error because it seems some plugins need to go directly on the plugins folder and others on it's own folder inside the plugins one. In this case, I would try creating a folder, renaming it "layerfx_presets", put the .py inside it and them throw it in Preferences/pluginsKrikor wrote: ↑15 Dec 2018, 15:09The layerfx_presents plugin after yesterday's error simply doesn't appear in the expected menu.Krikor wrote: ↑15 Dec 2018, 04:19GIMP 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.
----------------------------------------------------------------//-------------------------------------------------------------------------------
I've restarted Gimp several times.
I already changed the file for the original, which came in .zip
[...]
- tim
- View:
|Posts
- Topic Posts: 18/54 | Posts: 5359
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 78,113.62 GLP
- Bank: 387,604,749.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3137
- x 1074
- Contact:
Okay guys, took me hours but finally finished adding all layer effects (see version 5).
Note: For Inner glow and outer glow, using Color works, using Gradient fails to be called from script for some reason.
Similarly with Stroke as well, using Color works, using Gradient or Pattern fails to be called from script.
Note: For Inner glow and outer glow, using Color works, using Gradient fails to be called from script for some reason.
Similarly with Stroke as well, using Color works, using Gradient or Pattern fails to be called from script.
aka Tin
Hi Dionísio, I tried this option too, but it didn't help.Dionísio wrote: ↑15 Dec 2018, 15:42Is the plugin on it's own folder? I had this error because it seems some plugins need to go directly on the plugins folder and others on it's own folder inside the plugins one. In this case, I would try creating a folder, renaming it "layerfx_presets", put the .py inside it and them throw it in Preferences/plugins
As I said, the plugin worked, the folder was ok, after the crash is that the plugin disappeared from the menu.
I think I would have to back up my scripts, plugins, brushes, etc, and reinstall the Samj portable.
I think the crash might have corrupted something in my Gimp.

But nothing that cann't be solved.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
Hey Tim, this layerfx_presets plugin will be super useful! Just thinking about the time savings that you get, and even the exchange of presets that may be possible in the future.
Apparently, the plugin is quite large, it must have taken work.
Many thanks, Tim, you are always ready to help everyone!
Apparently, the plugin is quite large, it must have taken work.
Many thanks, Tim, you are always ready to help everyone!

"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
I going to run some tests on the plugin, too. I'm not sure, but maybe the error in the gradients/pattern options could be they are stored and named by the user, and the plugin don't know from where to call them.
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Only first time visitors will have to load everything from server
by tim » 25 Dec 2020, 13:35 » in GIMP/GL Interests - 1 Replies
- 804 Views
-
Last post by tim
25 Dec 2020, 14:14
-
-
- 0 Replies
- 1369 Views
-
Last post by RJKD
02 Oct 2020, 13:21
-
- 0 Replies
- 1029 Views
-
Last post by tim
23 Oct 2020, 12:28
-
- 2 Replies
- 1026 Views
-
Last post by Jappaloe63
24 Nov 2020, 11:43
-
-
Custom Font Perspex Effects for Gimp 2.10
by skinnyhouse » 03 Jun 2020, 11:50 » in GIMP Python Fu Scripts/Plug-ins - 5 Replies
- 4247 Views
-
Last post by skinnyhouse
13 Jun 2020, 19:21
-
-
-
Update to Custom Font Metallic Effects to 0.06 for Gimp 2.10.20
by skinnyhouse » 17 Jun 2020, 14:42 » in GIMP Python Fu Scripts/Plug-ins - 1 Replies
- 2082 Views
-
Last post by mahvin
17 Jun 2020, 22:54
-
-
- 2 Replies
- 2031 Views
-
Last post by sweeneyMark
19 Jun 2020, 13:21
Who is online
Users browsing this forum: No registered users and 16 guests