I've created another luminosity mask plug-in for you. Basically, Luminosity Mask Drive Thru (LMDT) creates masks by reducing a mask influence by half. I go into this more in the How-to file included in the zip file.
- Charles
This is LMDT version 1. Published on January 7, 2021.
I love luminosity masks. I already have some plug-ins for that purpose, but I always encourage myself to try other options.
Time to play with this new toy
Thanks!
"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 wouldn't have been able to create the script is wasn't for David Marsden's efforts. I studied his code in depth, and really couldn't have gotten very far without his example and inspiration.
For all you coders out there, if you haven't tried Visual Studio Code (It is free for Linux and Windows), then do so, because it's a Python learning experience like no other, expecially when used with the host of Python linters available.
If you allow me a request (suggestion). Would it be possible to avoid so many channels being created each time we use the plug-in?
There was a moment that I noticed that I already had 71 channels created. I don't know how to delete them at once, so I preferred to close the image and start the experiments in a new image.
Even a simple combination and already creates something like 18 channels.
These channels are named like:
Selection Mask copy, Selection Mask copy #1, Selection Mask copy #2, etc.
It would be preferable if the existing channels were only those referring to the masks used - Lights, Darks, Darker Darks, etc, and with suggestive names, as is already done with the name of the layers created.
The interface of the plug-in is extremely intuitive, friendly and practical.
I haven't had time for further testing yet, but I am very pleased with the plugin.
Congratulations and thanks for creating it and sharing it with us!
PS: The material that comes with the plug-in is also something to be congratulated!
Last edited by Krikor on 08 Jan 2021, 19:42, edited 1 time in total.
"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
Krikor,
The plug-in is only supposed to make one mask per checked option. So if I check the Lights option in the LMDT window, I only get one mask layer named after the source layer and the mask type. If you are getting the 'selection' layers, then the script is running incorrectly.
What version of GIMP are you using and on what platform? I have tested this script using GIMP 2.10.22 running on Windows 10.
Krikor,
The plug-in is only supposed to make one mask per checked option. So if I check the Lights option in the LMDT window, I only get one mask layer named after the source layer and the mask type. If you are getting the 'selection' layers, then the script is running incorrectly.
Ok I know, my English is deplorable, but I thought I made it clear that I was talking about Channels, not Layers.
In the layer window it's ok, I mean the channels that are created numerous in the window channels. (Channels vs. layers) dialog
"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
Krikor, Thank you very much for pointing this out and for the constructive ideas.
I hadn't even looked at the channels, nor had I thought about the implications of keeping the alphas. Personally, I think there's no point in preserving the selections as they just add their bulk to the file size. Plus, the user can always create an alpha from the mask if they need the channel. So I've modified LMDT, where the alpha selections are removed, and put up the latest version.
Krikor, Thank you very much for pointing this out and for the constructive ideas.
[...] and put up the latest version.
- Charles
Thanks for the update!
"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
david,
Everytime I was ready to give-up on the script, which was a daily occurrance, I would end up going back and studying your scripts again.
That is one reason why I appreciate open source code because constructive ideas, once shared, have the opportunity to return to life and make lives better.