Since
luminosity masks are all the rage, my own take on the subject.
Unlike the tutorial, and unlike most Gimp scripts based on this tutorial,
- The script creates only one mask at a time. This mask is immediately used to set the selection, thus saving several mouse clicks.
With the adequate shortcut(s) you can set a mask with a single keystroke.
- The mask is not created by addition/composition of other
masks, but by applying directly the equivalent curve with the Curves tool.
- The script creates a mask using the current state of the layer. By contrast the tutorial and the scripts create all the
masks once, usually on the initial state of the image, so when the
masks are used successively, the pixels remain selected based on their initial
luminosity and not on the
luminosity they reached following the previous edits (unless you redo all the
masks of course).
Script is
here. Gimp 2.10 only for the time being (there is a compatibility problem with 2.8 that isn't solved yet).