Jump to content
You must now use your email address to sign in [click for more info] ×

How do I copy a layer mask easily


Recommended Posts

Searched and found nothing of real use. Nothing that worked.

I do this a thousand times on a yearly basis in Photoshop so it must be possible and easy in Photo?

I need to copy a mask to another layer. Again and again. Here you can see how I can just drag a layer mask to another layer in Photoshop. 

mas.gif.b0f9df23bd975712c6a06bc8ddd998d1.gif

This is my test file:

  • Image
    • Live gaussian blur with mask
    • Contrast - brightness layer that needs the exact same layer mask

image.png.e2ecc221f2f4e654a52c6ca1983c8d98.png

 

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

Allright like this... 

image.png.d29f3fa30241a68f507582b0e4fabc1a.png

Just totally confusing I can also use the layer itself as a layer mask?

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

5 minutes ago, Jowday said:

Just totally confusing I can also use the layer itself as a layer mask?

An adjustment layer has a built-in mask, which is why you can just paint on it with white or black to control the adjustment's effect on another layer.

But I'm not sure what you mean about using the layer as a mask. What you have done there is not clear to me from just that picture.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

An adjustment layer has a built-in mask, which is why you can just paint on it with white or black to control the adjustment's effect on another layer.

But I'm not sure what you mean about using the layer as a mask. What you have done there is not clear to me from just that picture.

I need top copy the layer mask effect from one layer to another. I didn’t figure out how to do that on adjustment layers themselves.

Adding a layer mask to the adjustment  layer instead allows me to duplicate that layer mask layer. So that did the trick.

... or hey... use linked mask layers instead?

First some sleep.

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

Have you tried or thought about using Channels? I think it might make what you're wanting to do easier and faster.

Affinity Photo 2.4..; Affinity Designer 2.4..; Affinity Publisher 2.4..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD

Link to comment
Share on other sites

Duplicate and drag the mask layer.

Alternatively, the way I do it:

1. CMD/CTRL-click on the mask  
2. Add a mask layer or adjustment layer while selection is active

This will add an exact copy of your mask, no matter whether you use the built-in masks or separate masking layers.

 

 

 

Link to comment
Share on other sites

5 hours ago, user_0815 said:

Duplicate and drag the mask layer.

Alternatively, the way I do it:

1. CMD/CTRL-click on the mask  
2. Add a mask layer or adjustment layer while selection is active

This will add an exact copy of your mask, no matter whether you use the built-in masks or separate masking layers.

Mask Duplicate .mov Mask 1.mov Adjustment with mask.mov

I had no mask layer! I had drawn the mask on the adjustment layer itself.

Notice... no mask layer.

image.png.e2ecc221f2f4e654a52c6ca1983c8d98.png

But if I use the new linked layers in Photo (Layers -> Duplicate Linked)... I can create and update one mask layer and the linked duplicates of this layer will update automatically to reflect those updates!

Notice the link symbol.

image.png.577b1a5ad5a6047370f962957bfa9125.png

 

In this case I could just use the mask on the group itself only - it was a theoretical question though. It confused me that I could draw masks on the adjustment layer itself - I thought THAT was the only mask option I had. 🙂

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

7 hours ago, Jowday said:

But if I use the new linked layers in Photo (Layers -> Duplicate Linked)... I can create and update one mask layer and the linked duplicates of this layer will update automatically to reflect those updates!

Notice the link symbol.

image.png.577b1a5ad5a6047370f962957bfa9125.png

 

That's an interesting observation, but it does require having a separate mask layer, not simply drawing on the built-in mask that each adjustment has. Right?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

That's an interesting observation, but it does require having a separate mask layer, not simply drawing on the built-in mask that each adjustment has. Right?

Correct. Linked mask layers are required. Or that bit of helpful brain activity I got later... where I grouped the adjustment layers and used a mask on THAT! 😄

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

1 hour ago, user_0815 said:

Ok then. I thought you needed a hand.

I did. Thank you for your post and advice! But... I didn't use mask layers at all but masks on the adjustment layers:

image.png.6b143aa57c5e3073111d97c6c91a155f.png

In this case with no dedicated mask layer - how do I copy mask from the adjustment layer itself copied to another adjustment layer? Easily? If it requires multi-step channel operations I am not really interested (but curious still) - I was looking for something easy peasy like this:

mas.gif.b0f9df23bd975712c6a06bc8ddd998d1.gif 

But I understand that using dedicated layer masks is probably more clever. I just prefer the one line layer approach in Photoshop. And better thumbnails (full thumbnails, not crops).

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

Using the linked layers function, you can link different Live Filters, Adjustment etc so that the mask on one Filter/Adjustment is shared with the others

See simple file attached.

Paint (black/white) on the Add Noise Live Filter layer and the masked portions are replicated on the Black & White Adjustment Layer's mask.

 

linkedmasks.afphoto

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

1 hour ago, carl123 said:

Using the linked layers function, you can link different Live Filters, Adjustment etc so that the mask on one Filter/Adjustment is shared with the others

See simple file attached.

Paint (black/white) on the Add Noise Live Filter layer and the masked portions are replicated on the Black & White Adjustment Layer's mask.

 

linkedmasks.afphoto 5.53 MB · 0 downloads

How did you link the different adjustment layers together?

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

It's interesting that the adjustment parameters are unlinkable for different adjustments/filters but are linkable for comparable adjustments/filters. I can see how that may be useful in certain situations.

But I think there may be a small bug in that although the layers are linked, they don't have the linked icon when they are child layers but they do have the linked icon when you move them to the non-child position.

Not critical and does not affect their linked behaviour but I may create a bug report for that later

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

3 hours ago, Jowday said:

How did you link the different adjustment layers together?

Drag & drop on to the "Links" panel (View > Studio > Links). James has a good tutorial somewhere where he presents the new features.

Still a multi-step-process, so no solution for your original question. Unless you keep the "Links" panel open, then it's just one drag.

I haven't had the time to try it in detail but I like the concept.

Link to comment
Share on other sites

7 hours ago, user_0815 said:

Drag & drop on to the "Links" panel (View > Studio > Links). James has a good tutorial somewhere where he presents the new features.

Still a multi-step-process, so no solution for your original question. Unless you keep the "Links" panel open, then it's just one drag.

I haven't had the time to try it in detail but I like the concept.

Linked_Layers.mov

Ah, I made a few attempts. I am not sure how existing layers can be linked when no linked layers has been created yet. Why not a "Link layers" option if it is possible with drag and drop? Maybe I'll check out the tutorials out of lockdown boredom later.

I would much prefer something like this for just a quick and dirty copy-paste of a mask. I learned it simply by trying it years ago. It has to be that intuitive to work in a professional workflow - and for it to stick to memory. Linking has to mature a bit usability wise before it is ready for prime time.

mas.gif.b0f9df23bd975712c6a06bc8ddd998d1.gif

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

On 2/9/2021 at 7:45 PM, Jowday said:

Ah, I made a few attempts. I am not sure how existing layers can be linked when no linked layers has been created yet. Why not a "Link layers" option if it is possible with drag and drop? Maybe I'll check out the tutorials out of lockdown boredom later.

I would much prefer something like this for just a quick and dirty copy-paste of a mask. I learned it simply by trying it years ago. It has to be that intuitive to work in a professional workflow - and for it to stick to memory. Linking has to mature a bit usability wise before it is ready for prime time.

mas.gif.b0f9df23bd975712c6a06bc8ddd998d1.gif

Agree! Linking also slows me down a lot. Everything that needs a separate menu or a pop-up window is slowing workflow a lot

Link to comment
Share on other sites

  • 1 month later...

@Jowday Ctrl+alt+L click the thumbnail of the adjustment layer with the built in mask. Then select the other adjustment layer and ctrl+I to invert. This will create the same gradient but in the opposite direction. Then press Esc to deselect and ctrl+I again so you get the exact same mask. If you want them to always be identical you can also just drag and drop the masked adjustment layer into Pixel content in the the Links panel to make them identical. Remember to select the layer you want to the mask to be copied to to make this work.

Link to comment
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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.