Jump to content

Masks on RAW layers are not honored in Develop Persona


Recommended Posts

Steps:

  1. Open a RAW image
  2. In the Develop Persona, select Output: RAW Layer Embedded in the Context Toolbar. (Linked would probably also work to demonstrate the issue.)
  3. Click Develop.
  4. In the Photo Persona, duplicate the RAW layer (Ctrl+J). You can Hide the original; its only purpose is as a reference if needed.
  5. Add a Mask to the duplicate layer. I added an empty mask, then painted with white to expose part of the image.
  6. With the duplicate selected, switch to the Develop Persona.
  7. Make an  adjustment. I chose a Basic Exposure adjustment, and severely darkened the image.
    As there is a mask on the layer, I expect the adjustment will only affect the masked area, leaving the rest of the image alone.
     
  8. Click Develop.
  9. In the Photo Persona, Hide the Mask layer.
  10. Result: We can see that the adjustment made in step 7 affected the entire image, not just the masked area.

There's a variation I've noticed:

  • At step 7, use the Overlay Paint Brush to create an overlay over the visible (masked) image, making sure you go outside the bounds of the masked area. Note that the Overlay seems to be scoped to the masked area, as the red highlighting for the Overlay stays within the masked image. Now make the adjustment, and return to the Photo Persona by clicking Develop.
     
  • If you hide the mask layer, you can see that the adjustment was scoped to the Overlay area, but the Overlay was not, in fact, scoped to the mask but extended outside it (even though there was no red highlighting except within the masked area).

Attached: .afphoto file created  and saved with History in 2.5.2.2486 Beta (problem is not specific to the beta, nor to 2.5; I also see it in 2.3.1), and a video of the above steps starting after step 5.

develop-persona-mask-issue.afphoto

 

 

Note: Discovered during the discussion in this topic: https://forum.affinity.serif.com/index.php?/topic/204958-creatingimporting-masks-from-photo-to-develop-persona/

 

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Yep, I see the same here. Develop Persona decided it doesn't have to follow the rules.. ;)

 

Affinity Photo 2.5..; Affinity Designer 2.5..; Affinity Publisher 2.5..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD

Link to comment
Share on other sites

For what it's worth, I see no bug. The usual rules are being followed: the mask which is external to the RAW object is modifying the visibility of the RAW object. It would be unusual if an external mask was controlling what is happening inside the RAW object.

Link to comment
Share on other sites

On 5/30/2024 at 10:39 PM, lepr said:

For what it's worth, I seno bug. The usual rules are being followed: the mask which is external to the RAW object is modifying the visibility of the RAW object. It would be unusual if an external mask was controlling what is happening inside the RAW object.

I agree with that.
 
But the Develop Persona is still flawed. Make a selection and make settings in Develop Persona, the settings you make change the entire image, normally only the selection would be changed. That's how it is in Affinity Photo V1.
 
Cheers

 

Bild-1.png

Bild-2.png

Affinity Photo 2.5:         Affinity Photo 1.10.6: 

Affinity Designer 2.5:    Affinity Designer 1.10.6:

Affinity Publisher 2.5:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 23H2 Build (22631.4112)

 

Link to comment
Share on other sites

Restricting edits in Develop Persona to selections (as it worked in V1) or nested mask layers (never worked) does not make any sense to me, especially after V2 introduced linked and embedded RAW files.

  1. Take for example lens distortion correction or rotation. This will change the positions (or relation)  of RAW pixels and developed pixels.
  2. Develop Persona has the concept of overlays to reflect the function of selections / mask in other Personas.

If you want to use masks, just duplicate the raw layer, use Develop of unmasked raw layer, and use mask to get the desired result.

I see no benefit from having mask restricting edits inside parent layer. Mask always restrict visibility.

The option to use selections to restrict edits hast been lost in V1, but again this is no relevant loss as you can achieve the desired edits with minor variations of the workflow.

 

 

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

Thanks for your report @walt.farrell & our apologies for the delayed response!

On 5/30/2024 at 6:31 PM, walt.farrell said:

Result: We can see that the adjustment made in step 7 affected the entire image, not just the masked area.

As above, I have confirmed this to be expected behaviour and re-developing a RAW layer with masks or selections active in the Photo Persona should always affect the whole RAW image in develop.

On 5/30/2024 at 6:31 PM, walt.farrell said:
  • At step 7, use the Overlay Paint Brush to create an overlay over the visible (masked) image, making sure you go outside the bounds of the masked area. Note that the Overlay seems to be scoped to the masked area, as the red highlighting for the Overlay stays within the masked image. Now make the adjustment, and return to the Photo Persona by clicking Develop.
     
  • If you hide the mask layer, you can see that the adjustment was scoped to the Overlay area, but the Overlay was not, in fact, scoped to the mask but extended outside it (even though there was no red highlighting except within the masked area).

However, I consider the above to be a bug - either the RAW adjustments should be visually clipped to the mask area as the Overlay is, or the Overlay should extend beyond the mask area as the RAW adjustments do (based on the above, I would expect the latter).

Therefore I'm logging this as a bug with our team now.

On 6/1/2024 at 12:34 PM, Gnobelix said:

Make a selection and make settings in Develop Persona, the settings you make change the entire image, normally only the selection would be changed. That's how it is in Affinity Photo V1.

Our team have also confirmed this behaviour was incorrect in Affinity Photo V1 and the expected behaviour is now actually shown within V2 - the selection should not affect the RAW development area.

I hope this helps :)

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.