DidierS Posted December 31, 2023 Share Posted December 31, 2023 Hi Is it possible to assign a mask to a group of layers? I observed that an image disappeared if you attempted to do so. It is very possible that this is due to poor handling on my part, but can you see if you reproduce the same thing? If you have another solution, I'm also interested.... Here is the scenario I created: 1) load an image 2) add an adjustment layer (Level for example where you push the cursors) 3) Move this layer above the image (for testing purposes) 4) Select this layer and place it in a group. 5) Select the group and add a mask. 6) select the mask and paint a little black. Result: the image disappears at the location of the black area.... Note that this depends on how you move the layer in the group. There are two scenarios: - either we select the layer by name and move it. We then obtain a group without the presence on the same line of the adjustment layer (Capture-4.1) - either we select the layer using the icon and move it. We obtain the presence of this one in the group (Capture-4.2) In the first case, at the end of the scenario, the mask is taken into account. In the second, the image disappears. I'm working on affinity photo 2.3 Best reguards Quote Link to comment Share on other sites More sharing options...
firstdefence Posted December 31, 2023 Share Posted December 31, 2023 Are you trying to selectively mask the effects of, say, the levels adjustment layer so that the levels only effect some of the image? example of masking an adjustment layer. 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...
NotMyFault Posted December 31, 2023 Share Posted December 31, 2023 As the image layer is nested to the group, the mask will impact this layer, too. if the mask should not impact the image layer, you can move it out of / below the group. Quote 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. Link to comment Share on other sites More sharing options...
walt.farrell Posted December 31, 2023 Share Posted December 31, 2023 8 minutes ago, NotMyFault said: As the image layer is nested to the group, the mask will impact this layer, too. I don't see the image being part of the Group in any of the screenshots. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
DidierS Posted December 31, 2023 Author Share Posted December 31, 2023 10 minutes ago, walt.farrell said: I don't see the image being part of the Group in any of the screenshots. You are right. The image is not a part of the group. its layer is below. walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
DidierS Posted December 31, 2023 Author Share Posted December 31, 2023 44 minutes ago, firstdefence said: Are you trying to selectively mask the effects of, say, the levels adjustment layer so that the levels only effect some of the image? example of masking an adjustment layer. By example. Yes. But i also want to affects all adjustement layers set in group to a part of the image. I though that add a mask to the group would be the soluce. Quote Link to comment Share on other sites More sharing options...
DidierS Posted December 31, 2023 Author Share Posted December 31, 2023 24 minutes ago, NotMyFault said: As the image layer is nested to the group, the mask will impact this layer, too. if the mask should not impact the image layer, you can move it out of / below the group. The image is not set in group but below. Here is a file to illustrate that. Mask-In-Group-Exemple.afphoto Quote Link to comment Share on other sites More sharing options...
Ron P. Posted December 31, 2023 Share Posted December 31, 2023 This is the only way I can replicate this. Add the Adjustment Layer above the Background Image Select the Group Icon, found at the bottom of the Layers Panel. With the Group Layer selected, apply the Mask, to the Group. However look at the icon for the Group Layer. It's at the Far Left. It shows null icon, circle with diagonal line through it. Paint Black on the Mask Move/Nest the Adjustment Layer inside the Group. The Transparency painted on the Mask is maintained. I think this is a bug... 2023-12-31 08-52-12.mp4 Quote Affinity Photo 2.4..; Affinity Designer 2.4..; Affinity Publisher 2.4..; 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 More sharing options...
firstdefence Posted December 31, 2023 Share Posted December 31, 2023 I think I know what you have done, you will notice that each group folder has a different icon, one group is effectively a new group as denoted by the blank dot on the folder but the other folder has the Adjustment dot. You must have selected the mask and adjustment layer and either right-clicked to select group or subsequently clicked on the new group icon at the bottom of the layers panel resulting in an adjustment group, while the other group was likely created by clicking on the new group icon at the bottom of the layers panel and the mask and adjustment layer subsequently added to that new group. Try this... in the KO group click and drag the adjustment layer that is nested in the ko group, onto the ko group folder, the icon will change on the ko group folder to match the ok folder icon and the transparency will disappear. 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...
- S - Posted December 31, 2023 Share Posted December 31, 2023 Yeah, it's a bit confusing. Look where the double lines are in the Layers panel and also the colour of the layers in the Layers panel. - If the adjustment layer is above the double lines and is a dark grey colour, it denotes that the adjustment layer is in the mask section. - If the adjustment layer is below the double lines and is a light grey colour, it denotes that the adjustment layer is in the clipped or child section. This is why you're seeing the difference. Video A.mp4 Also refer to the Serif video here [3:13]: https://www.youtube.com/watch?v=4fiCvurH0is&t=193s DidierS 1 Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted December 31, 2023 Share Posted December 31, 2023 5 hours ago, DidierS said: Here is the scenario I created: 1) load an image 2) add an adjustment layer (Level for example where you push the cursors) 3) Move this layer above the image (for testing purposes) 4) Select this layer and place it in a group. 5) Select the group and add a mask. 6) select the mask and paint a little black. I have to question why you do steps 4, 5, and 6. You could simply have step four be: 4) Select the adjustment layer and paint on its builtin (but not displayed) mask. Before Step 4: After Step 4: The integrated mask magically appears as soon as I start painting. Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
DidierS Posted December 31, 2023 Author Share Posted December 31, 2023 1 hour ago, Old Bruce said: I have to question why you do steps 4, 5, and 6. You could simply have step four be: 4) Select the adjustment layer and paint on its builtin (but not displayed) mask. Before Step 4: After Step 4: The integrated mask magically appears as soon as I start painting. You're right. If I wanted to use a mask on the adjustment layer, I would do like you. Here I presented a "simple" example. But actually the goal is to use multiple layers in a group and hide them locally. Quote Link to comment Share on other sites More sharing options...
Ron P. Posted January 1 Share Posted January 1 Humm, my post must not have made it.. 😕🙃🤪🙄 Quote Affinity Photo 2.4..; Affinity Designer 2.4..; Affinity Publisher 2.4..; 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 More sharing options...
NotMyFault Posted January 1 Share Posted January 1 Nice find. simpler set up: create new file add any layer, e.g. rectangle in blue add empty group layer on top add mask to group in masking position delete via brush from mask: mask escapes group and impacts layer below no matter which blend mode is used for group this issue exists in 1.10.7 and probably all v2 releases. to add more insanity: Remove mask layer add a pixel layer in masking position to group start painting on pixel layer you observe the rectangular bounding box around the painted content gets erased from lower levels. you may need to zoom for manual redraw. Canvas, layer thumbnail and navigator preview don’t match. classical Affinity „non deterministic behavior of alpha channel handling in layer blending“ Ron P. 1 Quote 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. Link to comment Share on other sites More sharing options...
Staff NathanC Posted January 4 Staff Share Posted January 4 Thanks all for the additional info and steps, I've replicated and logged this unexpected group masking behaviour with the developers. On 1/1/2024 at 4:45 PM, NotMyFault said: to add more insanity: Remove mask layer add a pixel layer in masking position to group start painting on pixel layer I've also added these additional steps onto the report, thanks. 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.