Jump to content

Luminosity mask macros - conventional method

Recommended Posts

Edited 2-oct-2018: Gradient from white(255) to black(0) processed with all the Masks are added for better visual understanding.

Original first post below:
As part of my learning process, a macro is made to create luminosity masks which are required for exposure blending and other masking
requirements where seamless effect is required. The same is enclosed and basic details are in the text file of the zip.

This can create six pixel layers each in the Lights, Darks and Mid tones.
Conventional method of mask creation using channels is used .

Best regards,


UN1-Luminosity Mask.zip




Edited by unni
images added

Share this post

Link to post
Share on other sites

Edited today: added three images showing the application of the masks on a gradient from white to black.Please see first post as
the image is added there.

Share this post

Link to post
Share on other sites

@Max P  I have used channels method to make these masks based on :

1. http://goodlight.us/writing/luminositymasks/luminositymasks-1.html
2. https://tonykuyper.wordpress.com/2015/02/28/how-to-make-16-bit-luminosity-masks/

The lights and darks are created by multiplying each mask with itself. The midtone masks are made by subtracting one Light and one Dark mask from the image.
There are many articles in the internet describing this. Its a bit confusing to understand but after reading multiple articles on the same subject, I could understand the concept.
You can also step through the macro in edit macro mode .First uncheck all steps. Then tick one and run. Then tick two and run. This way, what each step is doing can be seen.
However, each time you have to delete the layers made in previous step and start. In this method, the calculations happen on a pixel by pixel basis between the two selections.
In blend mode , we add points on the curve . I think there is a difference in results between the two methods. In photoshop, various panels/plugins are available and each uses different methods but photoshop plugins developers have access to a lower level of photoshop software. I think they call it scripts or something. In Affinity Photo, I dont think such a facility is available. So third party will not be able to make plugins with precision. When we use macros, we have to be within the bounds of user interface and there is no access to internals of AP.
Macro just automate user steps. So plugins/panels similar to that available for PS will not be available for AP.


Share this post

Link to post
Share on other sites

I also saw these pages, but I had trouble extrapolating with the last page and uses the  blend range  for make it.

I want to try different methods and have the necessary perspective

I regret the impossibility of scripts with Affinity Photo, and the opportunity for improvement by third parties. one day perhaps...

thanks for your explanation and the detail...  I have to use it






Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.