Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

ICCII Layer FX for 2.10

Wed Sep 05, 2018 6:40 am

Okay. I tried to be sharper this time, all parameters should be fixed.
If not, you can give me virtual slap.
I like this script, you can use your preferred font instantly with "text creator" and apply basic layer effects easily.

Menu entry is on top, "ICCII FX" and default font Futura HV BT.
You can change them in lines 1513 & 1521 if want.
I keep the python and scm layer effects on main menu too, because they are essentials.

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 3:41 am

Never heard of this script. Can you post a screenshot of what it does? I'd hate to D/L, install, then delete 2 mins later. Is it the same as LayerFX?

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 5:06 am

Yes it is Layer FX with custom settings and added effects:
- vignette
- border
- style sample 1 & 2
- text creator

Style sample 2 preview, disabled satin layer.

Image

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 6:17 am

Running fine on my portable Samj 2.10.01
Nidhogg thank you !! :bigthup

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 9:52 am

Youre welcome TicTac. And BIG BOO to Windows!
Why is it that I had no issues on Xubuntu, but on Windows I get more error pop-ups?
Attached new version.

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 11:50 am

Nidhogg wrote:Youre welcome TicTac. And BIG BOO to Windows!
Why is it that I had no issues on Xubuntu, but on Windows I get more error pop-ups?
Attached new version.

Hi Nidhogg,
Well ... I'm using windows 10, and I have not had any error messages.
Is it really necessary to download this new version? :roll:
thx

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 1:30 pm

The new version works for me.
Windows 10, Gimp 2.10.6
The other version threw errors.
Thanks, it is terrific !

Re: ICCII Layer FX for 2.10

Thu Sep 06, 2018 2:58 pm

TicTac wrote:
Nidhogg wrote:Youre welcome TicTac. And BIG BOO to Windows!
Why is it that I had no issues on Xubuntu, but on Windows I get more error pop-ups?
Attached new version.

Hi Nidhogg,
Well ... I'm using windows 10, and I have not had any error messages.
Is it really necessary to download this new version? :roll:
thx

I believe you should run into error using either of the style samples with the first file I posted.
You're welcome SeriousTom.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 3:37 am

Hi.

On my windows 10 and Gimp 2.10.8
This script don't work.

I resume :

- Text creator : ok
- Add border : Erreur lors de l’exécution de script-fu-layer-effects-add-border :
Error: eval: unbound variable: TRANS-IMAGE-FILL
- Add vignette: Erreur lors de l’exécution de script-fu-layer-vignette :
Error: Procedure execution of gimp-context-set-gradient failed on invalid input arguments: Impossible de trouver le dégradé « FG to Transparent »
- Bevel & Emboss : No erreur message but no result in the picture.
- Color Overlay : Erreur lors de l’exécution de script-fu-layer-effects-color-overlay :
Error: eval: unbound variable: TRANS-IMAGE-FILL
- Drop Shadow : ok
- Gradient Overlay : Erreur lors de l’exécution de script-fu-layer-effects-gradient-overlay :
Error: eval: unbound variable: TRANS-IMAGE-FILL
etc...

Have you a version for 2.10.8 ?


Best regards.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 4:06 am

It seems you are NOT using the version posted on post #5: there is NO TRANS-IMAGE-FILL statement inside that one.
Pls double-check or re-download/install the one posted at #5.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 4:15 am

addendum:
-tested ALL the effects, all are working.
-about "Impossible de trouver le dégradé « FG to Transparent »" that's likely due to the fact that you are NOT using English as Language, pls change the name into your French equivalent (you see it on the desktop)

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 4:31 am

Hi thank you for this #5 It is Correct

But i have a " Erreur lors de l’exécution de script-fu-layer-vignette :
Error: Procedure execution of gimp-context-set-gradient failed on invalid input arguments: Impossible de trouver le dégradé « FG to Transparent »"

In Add Vignette.

And "Erreur lors de l’exécution de script-fu-layer-effects-styles-sample1 :
Error: Procedure execution of gimp-context-set-gradient failed on invalid input arguments: Impossible de trouver le dégradé « FG to Transparent » "

In Style Sample 1.

Best Regards

I don't understand your request about "FG..."
I have this :

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 4:50 am

If you click on the Gradient tool panel on the right, you should see how those types are translated into French.
I attach a screenshot.
Beware, I use English, this is just to show you where to look.

Cattura.PNG
Cattura.PNG (18.02 KiB) Viewed 3964 times


Once you know how it is defined in French, use that text in the filter.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 4:55 am

I started GIMP in French, so you can see:
CatturaF.PNG
CatturaF.PNG (19.1 KiB) Viewed 3963 times

Use "PP vers Transparent" in the script parameter.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 5:01 am

Wait, I look into the filter code…
Done, it is hard-coded, so you need the filter "translated" into French for some effects.
If you like I can try to do it for you

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 5:08 am

:tyspin

Well I have "edit" the scn and change this.
No error message now

Thank you very much.
Have a good day.

Re: ICCII Layer FX for 2.10

Wed Jan 02, 2019 5:14 am

OK, glad you have it running.

Re: ICCII Layer FX for 2.10

Sun Jan 20, 2019 2:08 am

Another solution for gradients (probably simpler - and also works for other scripts without having to change the code) is the addition (to gradients) of the English-language version.
These additional gradients should not be used in the English version.

ps. In fact, it script Iccii-Layer-Effects.scm use a lot of outdated procedures (only a few examples):


Code:
called deprecated procedure 'gimp-drawable-get-name'.
It should call 'gimp-item-get-name' instead!
 
called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!
 
called deprecated procedure 'gimp-round-rect-select'.
It should call 'gimp-image-select-round-rectangle' instead!
 
called deprecated procedure 'gimp-selection-layer-alpha'.
It should call 'gimp-image-select-item' instead!

called deprecated procedure 'gimp-selection-load'.
It should call 'gimp-image-select-item' instead!
 
called deprecated procedure 'gimp-invert'.
It should call 'gimp-drawable-invert' instead!

called deprecated procedure 'gimp-image-lower-layer'.
It should call 'gimp-image-lower-item' instead!

called deprecated procedure 'gimp-ellipse-select'.
It should call 'gimp-image-select-ellipse' instead!

called deprecated procedure 'gimp-palette-set-foreground'.
It should call 'gimp-context-set-foreground' instead!


In Attachment (for testing):
- additional gradients English names,
- changed script (rename outdated procedures, change of location in the Gimp menu: Layer -> Layer FX (ICCII)
and added contex menu (right mouse button) in window "Layers Menu" -> Layer Effects FX

Re: ICCII Layer FX for 2.10

Thu Dec 12, 2019 3:54 am

Can someone please show an example of what Icci Layer Effects does and how to get it to work? I can't get it to work. The main one in this Layerfx that I can't seem to get to work is Satin.

Re: ICCII Layer FX for 2.10

Thu Dec 12, 2019 12:50 pm

It's a bundle of custom LayerEffects with some additional stuff: vignette, border, satin.
There's also a simple text/logo creator and 2 different style samples.

Image

Image
Post a reply