GIMP Chat
http://gimpchat.com/

Fast Mask (Rel 2)
http://gimpchat.com/viewtopic.php?f=9&t=18730
Page 1 of 1

Author:  Graechan [ Mon Aug 31, 2020 1:54 am ]
Post subject:  Fast Mask (Rel 2)

This script I created years ago but abandoned when Beautify came

I found among the scripts I wrote simply to occupy myself years ago this
Image
Menu Rel 2↑
Image
Image↑
Image
Mask↑
Image

Output↑

Maybe it could be of use to some

Menu Location is Layer/Mask/Fast Mask

Attachment:
File comment: Fast Mask Rel2
Fast Mask.scm [8.26 KiB]
Downloaded 208 times

Author:  mahvin [ Mon Aug 31, 2020 12:02 pm ]
Post subject:  Re: Fast Mask

The only thing I think this needs is the ability to keep the layers so that you can further modify opacity or tweak/blend dual effects with textures, etc. Other than that, it does the job, allowing you to see the mask in effect. Many thanks!

Author:  MareroQ [ Mon Aug 31, 2020 9:13 pm ]
Post subject:  Re: Fast Mask

@Graechan.
Why did you hide such a great script for 6 years?

@Mahvin.
I added for test what you wanted (work on duplicate active layer, layer mode and opacity, optional - merge visible layers) - but I know Grachen will do better.
This version does not conflict with the original Graechan script.

Attachments:
Mod Frame from fast mask.png
Mod Frame from fast mask.png [ 394.87 KiB | Viewed 4431 times ]
Frame from Fast Mask.zip [3.34 KiB]
Downloaded 161 times

Author:  Graechan [ Mon Aug 31, 2020 11:15 pm ]
Post subject:  Re: Fast Mask (Rel 2)

Fast Mask Rel2 is on the initial post
Image
Menu Rel 2↑


MareroQ have you ever used SF-ENUM "LayerMode" '("LayerModeEffects" "normal-mode") for the layer modes

Author:  mahvin [ Mon Aug 31, 2020 11:23 pm ]
Post subject:  Re: Fast Mask (Rel 2)

Thanks, again!

Author:  MareroQ [ Tue Sep 01, 2020 4:08 am ]
Post subject:  Re: Fast Mask (Rel 2)

Hi Graechan.

You uploaded a revision (draft with no recent changes saved?) Without the option to select a layer mode. :roll:
I'm not sure if keeping the layer mask is a good solution (you would have to check if the active layer already has a mask ?).
In terms of
SF-ENUM "Layer Mode" '("LayerModeEffects" "NORMAL_MODE")

very effective solution, but for me it does not work as I would like. :gaah

In my opinion, the level of opacity is more important than the layer modes (as in the Hejian "Rip Border" plug - only color and opacity)
I wonder if the your option "Pattern" "Gradient" can be transferred to border.exe? :geek

ps.As not an coder but a persistent "deprecated procedures hunter":
ADD-COPY-MASK and ADD-SELECTION-MASK this is deprecated! -> ADD-MASK-COPY and ADD-MASK-SELECTION.


Attachments:
Message FM v.02.png
Message FM v.02.png [ 139.8 KiB | Viewed 4376 times ]
Message Ra-Mode-Settings scm .png
Message Ra-Mode-Settings scm .png [ 25.55 KiB | Viewed 4376 times ]

Author:  sallyanne [ Tue Sep 01, 2020 6:40 am ]
Post subject:  Re: Fast Mask (Rel 2)

Not working for me at all. :( I tried the mask- borders that rich posted first then after three of them didn't work I tried yours. Must have tried it on different size pictures, different setting etc and still nothing.
BTW I redownloaded it incase I missed the release 2

Author:  MareroQ [ Tue Sep 01, 2020 6:52 am ]
Post subject:  Re: Fast Mask (Rel 2)

Neither version works?
I tested both (Fast Mask V.02 and Frame from Fast Mask) in Gimp-2.10.20 with gimp.org and the Samj portable version Gimp-2.10.21 and they work on any RGBA image.

Author:  sallyanne [ Tue Sep 01, 2020 7:41 am ]
Post subject:  Re: Fast Mask (Rel 2)

I'll do one and post my error message

Fast Mask Warning
Error while executing script-fu-fast-mask:

Error: ( : 1) Procedure execution of gimp-image-set-active-layer failed on invalid input arguments: Procedure 'gimp-image-set-active-layer' has been called with an invalid ID for argument 'active-layer'. Most likely a plug-in is trying to work on a layer that doesn't exist any longer.


GIMP Warning
Plug-in 'Fast Mask' left image undo in inconsistent state, closing open undo groups.

I used an image that I use for everything else

Author:  MareroQ [ Tue Sep 01, 2020 8:33 am ]
Post subject:  Re: Fast Mask (Rel 2)

@Sallyanne

It probably won't work either (and I have no idea why) but please try "Frame from Fast Mask.scm" as well (it recognizes after registration: this one will give you script-fu-fast-mask-decor messages).
Anyone else can confirm whether it works for him or not? :hoh

Almost 20 downloads and the first problem ? :lol

Author:  Issabella [ Tue Sep 01, 2020 8:58 am ]
Post subject:  Re: Fast Mask (Rel 2)

I find it very nice and quick to get a nice decoration on a pic. I like it a lot. Thank you MareroQ. :tyspin :yes

Attachments:
grey-crowned-Frame from FastMask_MareroQ.jpg
grey-crowned-Frame from FastMask_MareroQ.jpg [ 850.88 KiB | Viewed 1473 times ]

Author:  paynekj [ Tue Sep 01, 2020 9:02 am ]
Post subject:  Re: Fast Mask (Rel 2)

@MareroQ

You showed Sallyanne's error message earlier, and it's because you have the layer-mask selected:
Attachment:
Message FM v.02.png
Message FM v.02.png [ 186.51 KiB | Viewed 1473 times ]

Author:  MareroQ [ Tue Sep 01, 2020 9:33 am ]
Post subject:  Re: Fast Mask (Rel 2)

@Issabella.

Thanks only to Greachan - I'm learning the code from him. He is a real expert in this field.
I am slowly changing my attitude towards script-fu because it will probably have its five minutes of credit (in the transition from Python2 to Python3).

@Kevin.

It is possible that it is - but we do not know if the script even allowed to create a layer mask?

Author:  Issabella [ Tue Sep 01, 2020 9:46 am ]
Post subject:  Re: Fast Mask (Rel 2)

Of course, Thank you very much Graechan, you know how much I have enjoyed your plug-ins. Your Fast Mask works great.
So, thanks to you both for your nice job and for sharing it in the forum. :tyspin :clap :clap

Author:  sallyanne [ Wed Sep 02, 2020 1:20 am ]
Post subject:  Re: Fast Mask (Rel 2)

I don't think I have ever had problems with Graechan's scripts before. I will try it again when I get home.

I did however check my 'layers' after the script ran. It looked like nothing happened but I did have two masks (maybe one was blocking the other - I have only run it with keep all layers) - I was using the mask Graechan posted when I posted that error MareroQ.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/