Jump to content

Recommended Posts

Posted (edited)

This could be implemented in a script pretty easily but since we don't have scripting yet mi requesting it here :)

Basically I want to be able to make a mask but instead of the layer only being viewed through the mask, now the layer can be viewed everywhere except the mask, and the layers below can be seen through the mask.

To implement this in a script I'd just make a very large rectangle larger than the artboard, subtract the 'mask' from it, and then apply that as a mask to the desired layer.

I want to specify this request involves an inverse vector mask, not the inverse pixel mask achievable in photo by inverting selection.

Edited by evnb
  • 7 months later...
Posted

@evnb I'm all for it. In the meantime, here's a possible workaround. Place your "masking object" on a layer above the object you wish to apply the mask to, and set the layer blend mode to Erase, which will achieve the same result. It may not work for every situation, but it's a possible workaround. To limit the Erase Blend Mode effect to specific objects, (so you don't Erase all the way to the bottom of your layer stack), Group them, which will limit Erasure to that Group. See graphic below.

I believe exporting to PDF won't work because as I understand it, the PDF spec doesn't support Erase Blend Mode. 

Screenshot2024-11-07at2_28_34PM.thumb.jpg.edbe60ad0aa09c3cea32e475c1ddb251.jpg

2024 MacBook Pro M4 Max, 48GB, 1TB SSD, Sequoia OS, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish, Wacom Intuos 4 PTK-640 graphics tablet, 2TB OWC SSD USB external hard drive.

Posted
15 hours ago, Ldina said:

and set the layer blend mode to Erase,

While that may achieve the desired results visually, won't the Erase Blend Mode rasterize any of the affected vector content during Export?

-- 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.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
2 hours ago, walt.farrell said:

While that may achieve the desired results visually, won't the Erase Blend Mode rasterize any of the affected vector content during Export?

Agreed, Erase Blend Mode does result in some rasterization. This is just a workaround for those who need such a visual effect, until (or if) a true vector "inverse mask" becomes available. 

2024 MacBook Pro M4 Max, 48GB, 1TB SSD, Sequoia OS, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish, Wacom Intuos 4 PTK-640 graphics tablet, 2TB OWC SSD USB external hard drive.

  • 3 weeks later...
Posted
On 11/8/2024 at 2:12 AM, Ldina said:

@evnb I'm all for it. In the meantime, here's a possible workaround. Place your "masking object" on a layer above the object you wish to apply the mask to, and set the layer blend mode to Erase, which will achieve the same result. It may not work for every situation, but it's a possible workaround. To limit the Erase Blend Mode effect to specific objects, (so you don't Erase all the way to the bottom of your layer stack), Group them, which will limit Erasure to that Group. See graphic below.

I believe exporting to PDF won't work because as I understand it, the PDF spec doesn't support Erase Blend Mode. 

Screenshot2024-11-07at2_28_34PM.thumb.jpg.edbe60ad0aa09c3cea32e475c1ddb251.jpg

it also isn't very intuitive

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.