Medical Officer Bones Posted August 17, 2018 Share Posted August 17, 2018 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. Quote Link to comment Share on other sites More sharing options...
firstdefence Posted August 17, 2018 Share Posted August 17, 2018 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. Quote 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 (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 More sharing options...
Medical Officer Bones Posted August 17, 2018 Author Share Posted August 17, 2018 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. Quote Link to comment Share on other sites More sharing options...
firstdefence Posted August 17, 2018 Share Posted August 17, 2018 One step closer, I'll have a ping-ping session in Photoshop and AFPhoto to see if anything clicks. Quote 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 (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 More sharing options...
firstdefence Posted August 17, 2018 Share Posted August 17, 2018 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. Quote 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 (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 More sharing options...
lepr Posted August 17, 2018 Share Posted August 17, 2018 . Quote Link to comment Share on other sites More sharing options...
Polygonius Posted August 17, 2018 Share Posted August 17, 2018 Why not using select-find transparancy and then creating a mask from that? Quote OSX 12.5 / iMac Retina 27" / Radeon Pro 580X / Metall: on! --- WWG1WGA WW! Link to comment Share on other sites More sharing options...
Medical Officer Bones Posted August 17, 2018 Author Share Posted August 17, 2018 @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: When the transparency/alpha is transferred to a layer mask (or removed) this image pops up: 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. Quote Link to comment Share on other sites More sharing options...
lepr Posted August 17, 2018 Share Posted August 17, 2018 . Medical Officer Bones 1 Quote Link to comment Share on other sites More sharing options...
lepr Posted August 17, 2018 Share Posted August 17, 2018 . Medical Officer Bones and Wosven 1 1 Quote Link to comment Share on other sites More sharing options...
Medical Officer Bones Posted August 17, 2018 Author Share Posted August 17, 2018 @owenr Thanks! I had tried it with another file, and assumed the fill command worked differently. Thanks for the help. lepr 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.