Jump to content

Recommended Posts

Posted

Photo 2 (or 2.1 beta) on Windows 11

Let's say I have a pixel layer I've converted to black & white and I want to use that layer data as a mask on an adjustment layer. I thought (?) the process was:

  1. Create the selection for the pixel data by an appropriate means (e.g., Ctrl+A on the source pixel layer, then Ctrl+C)
  2. On the Channels tab, create a spare channel from that selection
  3. Add the adjustment and select it only (click its thumbnail)
  4. On the Channels tab, right-click the newly-created spare channel and select “Load To <layer name> alpha”

When I save the selection I end up with an empty (solid) spare channel, however, so of course the mask on the adjustment layer is empty / solid as well.

It would be nice to have an option on an adjustment layer context (right-click) menu to "Add selection as mask", or at least the ability to directly paste into a mask when it's being edited. When I selected my source layer, Alt+clicked to edit the adjustment mask and tried to paste, it just created a new layer.

My use case in this instance was a photo with a lens flare over some bare tree branches against a bright sky, which washed out the dark branch silhouettes. I thought I would use an inverted high-contrast B&W copy of the flare area (white branches on a black sky) as a mask on an adjustment layer to darken the "real" branches only. But due to the above issue I ended up just painstakingly painting a custom mask over the limbs then tweaking brightness / contrast to minimize the washed-out appearance. Hardly ideal...

Thanks.

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

Posted

The fastest option to convert any pixel data into a mask:

  • merge visible (optional / when required)
  • Rasterize to mask

the fastest ways to copy a mask into an adjustment or filter layer:

  • Just nest the mask layer to it, keep it as separate mask layer
  • Before adding the adjustment, selection from layer (mask layer), then add adjustment.

so in principle you can save a lot of clicks by using specific ways creating masks, instead of the correct, but lengthy generic process you have described 

 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

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.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Thanks. Those work, but the "generic" process wasn't working for me. No worries, they're better anyway.

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

Posted

Good morning, @lphilpot. Here’s a really easy variation of your original method.

First, instead of a Select All, make a luminosity selection. (Choose “Select from Layer Intensity” from the Select menu.) Second, with the selection active, create a mask. That’s it. You don’t have to convert the layer to black and white beforehand. And you don’t need the Channels panel as an intermediary, unless you’ve already made the Adjustment and then want to apply the mask.

Affinity Photo 2, Affinity Publisher 2, Affinity Designer 2 (latest retail versions) - desktop & iPad
Culling - FastRawViewer; Raw Developer - Capture One Pro; Asset Management - Photo Supreme
Mac Studio with M2 Max (2023); 64 GB RAM; macOS 13 (Ventura); Mac Studio Display - iPad Air 4th Gen; iPadOS 18

Posted

Thanks!

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

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.