Jump to content

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.

Share this post


Link to post
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" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

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

Share this post


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

Share this post


Link to post
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" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

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

Share this post


Link to post
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" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

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

Share this post


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

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.

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.


×
×
  • 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.