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

How to make a vector mask containing a hole in Photo?


Recommended Posts

How do you make a vector mask containing a hole in Affinity Photo?

Assume I want to mask a photo of a doughnut in Affinity Photo.  I want a vector mask so I can modify it with precision at any time.

I use the pen tool to draw a closed curve around the perimeter of the doughnut , then fill the curve black.

I present my filled curve to the doughnut layer and get the short blue vertical line.  The mask works as expected, but of course the hole has not been addressed.

How do I deal with the hole?  Nothing I have tried works, except the following:

I draw another closed curve for the doughnut hole and fill it black.  I position this layer below the doughnut / mask layers described above, and change its Mode to Erase.

Now I have the doughnut , a transparent background and transparent hole. This is exactly what I want, with the ability to edit both the doughnut perimeter and the hole, using the node tool.

This technique seems to work well, but it feels like a work-around. Is this the only way to make a vector mask containing a hole?

Link to comment
Share on other sites

Look at the APh shape tools, there is one with a donut shape, also the cog shape tool offers a lot of customizations (can also be made a ring). Try to reuse those for your mask. - Or draw two circles with the shape tools (a smaller on a bigger one) and then geometrical substract those, you will get a donut like shape too then.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Thank you.  The donut shape can be made to work as a mask after converting it to curves, adding many points, and moving each node to conform to the object I wish to mask.  That is a lot of work.

I really need to stay with closed curves which I draw myself.  How do I geometrical subtract two closed curves in Affinity Photo?

Link to comment
Share on other sites

2 hours ago, edferg said:

How do I geometrical subtract two closed curves in Affinity Photo?

Layer > Geometry: Subtract 

or use the top tool menu: 1008100154_ScreenShot2019-03-22at07_43_08.png.a10950ef360c5d73c56264a0303454ab.png 

You might have to customise the menu to get this, so right-click  and choose customise Menu, you can drag the geometry strip onto the menu.

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  
B| (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

Thanks everyone!  Layer>Geometry: Subtract converted my two curves into a single layer, which allowed me to mask my image with a hole in the center.

I had never even noticed the Geometry options in the Layers menu before.

Link to comment
Share on other sites

  • 5 months later...

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.