edferg Posted March 22, 2019 Share Posted March 22, 2019 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? Quote Link to comment Share on other sites More sharing options...
v_kyr Posted March 22, 2019 Share Posted March 22, 2019 See: Vector Masking in APh Also check the vector shapes donut etc. You can convert that to curves and adjust it's nodes to your needs then. Quote ☛ 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 More sharing options...
edferg Posted March 22, 2019 Author Share Posted March 22, 2019 6 minutes ago, v_kyr said: See: Vector Masking in APh Thank you. I've seen this video. However it demonstrates a simple, single mask. I 'm dealing with a round mask with a hole in the center. Quote Link to comment Share on other sites More sharing options...
v_kyr Posted March 22, 2019 Share Posted March 22, 2019 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. Quote ☛ 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 More sharing options...
edferg Posted March 22, 2019 Author Share Posted March 22, 2019 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? Quote Link to comment Share on other sites More sharing options...
firstdefence Posted March 22, 2019 Share Posted March 22, 2019 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: 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. PaoloT 1 Quote iMac 27" 2019 Sequoia 15.0 (24A335), 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...
edferg Posted March 22, 2019 Author Share Posted March 22, 2019 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. Quote Link to comment Share on other sites More sharing options...
oliiix Posted August 29, 2019 Share Posted August 29, 2019 Nice that's it, thank you firstdefence! Needed this as well firstdefence 1 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.