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

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 3944 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 3943 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

Re: ICCII Layer FX for 2.10

Thu Dec 12, 2019 2:16 pm

Nidhogg wrote: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 ]


I know what it is, I just want to know how to get the Satin Effect to work and the Stroke effect. Can they work on images, text, or both? I'd like an example please.

Here's what I get when using Stroke:
Image

A frame around the image

Re: ICCII Layer FX for 2.10

Thu Dec 12, 2019 2:54 pm

Satin seems to works for me as supposed, I'm using the latest version that was fixed by MareroQ.
I would use border with image, and stroke with objects/text.
But I'm not using this stroke, it's not looking so good with certain settings as you can see.
The one that ofnuts created while ago is the best of all by far in my opinion, ofn-outline-layer.py
I recommend just to play with the filters some time and you'll find out how they work...if they work.

Image

Re: ICCII Layer FX for 2.10

Thu Dec 12, 2019 5:59 pm

I have the one fixed by MareroQ but I'll download it again just to see if it gives me the same thing.
Post a reply