Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

I'm trying to stack two photos one on top of the other and use a rectangle to mask a hole in the top photo to reveal the underneath photo.  I am creating a rectangle above my top photo and dragging it down to create a mask on the top photo. but then I need to invert this so that the center is masked out and the top photo is visible around the edges. I have tried ctrl+i to invert and nothing happens I have tried to set the alpha channel and all I wind up doing is making the whole thing transparent 

Link to comment
Share on other sites

You need to make two rectangles and subtract one from the other. Layer > Geometry > Subtract.

mask.png.576d1b6131d09c0d93d0694041ca33e6.png

 

However, if you would like a nice, fast and very easy method. Create the rectangle and drag it to the nesting position of the image. Not the masking position !

 

Nesting

nest.png.687ee1942048da5de7b7cd9da475e62b.png

 

Change the layer blend mode of the rectangle layer to erase.

hole.png.8df4f96e1e4b073b524a17a311a2cf98.png

 

Makes a nice hole :)

Windows PCs. Photo and Designer, latest non-beta versions.

Link to comment
Share on other sites

3 hours ago, Angelize said:

I have tried ctrl+i to invert and nothing happens

For what it is worth, that is because you can't invert a rectangle -- it is a shape, not a raster image. Note that the Layer > Invert menu item is greyed out when a shape (or a text or other object) is selected, indicating this.

 

In effect, Layer > Invert does the same thing as the Layer > New Adjustment Layer > Invert Adjustment (Affinity Photo) or Layer > New Adjustment > Invert (Affinity Designer) menu item does, which is to create a 'negative' of the layer by inverting its color channels. Masks don't have color channels so an invert adjustment layer can't be applied to them, but it can be applied shapes, text, & raster images, which you might find useful for some other tasks.

 

As an alternative to the methods @toltec mentioned, for a different kind of 'hole' effect you might try experimenting with stacking the masked 'underneath' layer above the 'top' one instead of creating a mask in the 'top' one to let the 'underneath' one show through. (IOW, do what you described in your first post, but reverse the stacking order of the two image layers & apply the rectangle to the other, now top, layer.) Doing it this way may not always get the effect you want but you can use the rectangle as a mask as is, without having to create two rectangles & subtract one from the other or change the layer blend mode.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

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.