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

Recommended Posts

Does anyone happen to know of an equivalent of Photoshop's "Layer Mask from Transparency" function in Affinity Photo? It converts the transparency of a layer to a layer mask, and removes the transparency from the original layer. In PhotoLine this is achieved by creating a new layer mask based on alpha. In Gimp there's the option to transfer a layer's alpha channel to a layer mask when a new layer mask is added to a layer with transparency.

To be clear, this function removes the transparency from the original layer, and transfers the alpha channel data to a layer mask.

It's a very basic option, and ought to be possible somehow in Affinity Photo, but so far I haven't been able to figure out how to accomplish this. Help is very much appreciated: I've been fiddling around for an hour now, and it's probably so obvious that I am looking past it.

Link to comment
Share on other sites

You can go to the Channels Panel and right click on the Alpha Channel and select Create Mask Layer, this might be a starting point.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

That was one of the things I tried, but to no avail: the original layer's transparency/alpha is maintained.

But your answer did motivate me to look once again, and I found a method/workaround:

1) switch to the channels panel, and right-click on the Pixel Alpha to create a new mask layer.

2) select the original layer and use the pixel alpha's Fill command to fill the alpha with pixels.

However, it is only a partial solution: I'd like to display the original pixel data.

Link to comment
Share on other sites

One step closer, I'll have a ping-ping session in Photoshop and AFPhoto to see if anything clicks.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Affinity Photo doesn't seem able to create a transparency mask by transferring/removing an existing transparency on an image to the mask layer. It will create a mask using the transparency but the transparency will also remain on the image, enabling and disabling the mask layer also seems to affect the transparency's volume  which would back up the double transparency effect.

What I find a bit crazy is that you can right-click on the Alpha channel and select Fill and it will remove the transparency, so the ability is there it just doesn't transfer that ability to the mask, well as far as I can understand it at the moment.

If you create a blank mask and draw on it to get an area of transparency on the image, disabling the mask pretty much does what you want by removing the transparency.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

@firstdefence Yes, that seems to be the case. It's quite a basic function, so I hope the devs will implement it at some point in the future.

For those who need an example, here's a file that demonstrates the problem:

hiddenbg.png.8a66a7e55cb14fda4f9bb67f4c290795.png

When the transparency/alpha is transferred to a layer mask (or removed) this image pops up:

unhiddenbg.jpg.7af753f6a463b72e1c3a31ef12d4f8be.jpg

If someone happens to stumble on a method to accomplish this in Affinity Photo, I'd be grateful.

ps just noticed that in PhotoLine the brush tool can work directly with the alpha channel, and I can undelete the hidden parts of the image by painting over the transparent areas as well.

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.