Jump to content

Convert or copy greyscale image into a selection mask?


Recommended Posts

My apologies if this has been covered somewhere before, but I can't find it if it has, and I've been watching some of the hue/luminosity masking tutorials and I don't think they're what I'm looking for (or I'm too dumb to figure out how to adapt them for my use.)

I've been trying to rebuild some of my essential Photoshop Actions into Affinity Photo Macros so I can finally be rid of that beast. One of my Actions I built is called "Outline Overlay" … it basically takes a greyscale image (usually line art), copies it and pastes it into Quick Mask Mode, then goes back into regular mode, creates a new layer, and and fills the selection (from the Quick Mask) with black. The result is a transparent overlay layer with black lineart, the subtle grey aliasing around the edges preserved in the transparency of the pixels.*

I'm having some trouble with that big middle step in Affinity, though. Is there some way, either with a Quick Mask-style mode or some other function, to copy and paste or otherwise convert a greyscale image into a selection area?

*(A somewhat similar result could be made by setting the greyscale layer to Multiply, allowing the white and lighter-grey pixels to show what colors are on the layers immediately below them. But when I'm using this Action it's because I actually need a layer that's empty/transparent except for the linework portion of the image.)

If anyone knows or knows a hack to work around this, I'd appreciate it, thanks! :)

Link to comment
Share on other sites

Hi,

https://affinity.help/photo2/English.lproj/pages/Selections/selections_fromlayers.html

To create a pixel selection from layer intensity (luminosity):

Do one of the following:

  • On the Select menu, choose Selection from Layer Intensity.
  • On the Layers panel, click the chosen layer's thumbnail while pressing the  OPT and  CMD keys

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

6 hours ago, NotMyFault said:

Hi,

https://affinity.help/photo2/English.lproj/pages/Selections/selections_fromlayers.html

To create a pixel selection from layer intensity (luminosity):

Do one of the following:

  • On the Select menu, choose Selection from Layer Intensity.
  • On the Layers panel, click the chosen layer's thumbnail while pressing the  OPT and  CMD keys

Aaah, thank you! Interesting … I thought I tried this before when I was looking through the Select menu, and it didn't work, it gave kind of a faint translucent copy of the line art that wasn't really useable. But this time it seemed to work fine. I must have put myself into some kind of weird mode or setting with all my poking around the first time I did it. Thanks!

Link to comment
Share on other sites

Many you have chosen „selection from layer“ which sounds similar but works totally differently (using the alpha values instead of lightness values to create selection).

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

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.