Jump to content
Our response time is longer than usual currently. We're working to answer users as quickly as possible and thank you for your continued patience.

Converting mask to pixel layer

Recommended Posts

I'm currently puzzling over the simplest way to convert a mask to a pixel layer (and whether this can be made into a macro).

Currently I'm at:

  1. Release mask if it is attached to any layer, or drag to top level of layers
  2. Invert mask
  3. Put black pixel layer below mask
  4. Select mask layer
  5. Merge down
  6. Put white pixel layer below this layer
  7. Select merged layer above white layer
  8. Merge down

Any improvements?

The attached macro does steps 2 to 8, but I can't find a way to include the release into a macro. Still, it seems usable -- you just need to do step 1 by hand. You may also need to ensure nothing is selected.

Dave's Mask to Pixel Layer.afmacro

Dave Straker

Cameras: Sony A7R2, RX100V

Computers: Win10: Chillblast i9 Custom + Philips 40in 4K & Benq 23in; Surface Pro 4 i5; iPad Pro 11"

Favourite word: Aha. For me and for others.

Link to comment
Share on other sites

  • 9 months later...

Hi @nikolai.ylirotu


You have the channels hidden and no layer selected. Select a layer first.

Make the channels visible by clicking on the rounded arrow (circled).

Right click on a channel.


If you want to do it from a mask, obviously you need to create one first.

Windows PCs. Photo and Designer, latest non-beta versions.

Link to comment
Share on other sites

To add slightly to what @toltec said, only pixel layers have accessible channels, so if for example you select an "(Image)" layer, you will not get the second set of channels. If the pixel layer has been named, instead of "Pixel Red" & so on, in the channels list "Pixel" will be replaced by that name. Often, this will be "Background," but that has no special significance -- it is reference to the layer name, not its position in the layer stack.

All 3 1.10.6, & all 3 V2.03 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.6; Affinity Designer 1.10.6; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

  • 4 months later...
  • 4 years later...

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 there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.