It is currently Thu Jun 27, 2024 7:22 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Fast Mask (Rel 2)
PostPosted: Mon Aug 31, 2020 1:54 am  (#1) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
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 207 times

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Tue Sep 01, 2020 4:19 am, edited 2 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Fast Mask
PostPosted: Mon Aug 31, 2020 12:02 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Fast Mask
PostPosted: Mon Aug 31, 2020 9:13 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@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 4417 times ]
Frame from Fast Mask.zip [3.34 KiB]
Downloaded 161 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Mon Aug 31, 2020 11:15 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
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

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Tue Sep 01, 2020 4:20 am, edited 1 time in total.

Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Mon Aug 31, 2020 11:23 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Thanks, again!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 4:08 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 4362 times ]
Message Ra-Mode-Settings scm .png
Message Ra-Mode-Settings scm .png [ 25.55 KiB | Viewed 4362 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 6:40 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
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

_________________


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 6:52 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 7:41 am  (#9) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
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

_________________


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 8:33 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@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

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 8:58 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
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 1459 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 9:02 am  (#12) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
@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 1459 times ]


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 9:33 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@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?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Tue Sep 01, 2020 9:46 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
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

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Fast Mask (Rel 2)
PostPosted: Wed Sep 02, 2020 1:20 am  (#15) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
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.

_________________


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts GIMP's fast pixel operations

4

No new posts Attachment(s) Mask Over Photographers in Reflection?

5

No new posts Create Layer Mask From

8

No new posts Help removing mask from face

2

No new posts Attachment(s) Yet another luminosity mask plug-in!

3



* Login  



Powered by phpBB3 © phpBB Group