{"id":380,"date":"2019-08-02T01:15:56","date_gmt":"2019-08-02T01:15:56","guid":{"rendered":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/?p=380"},"modified":"2019-08-02T17:20:15","modified_gmt":"2019-08-02T17:20:15","slug":"refine-edges-in-affinity","status":"publish","type":"post","link":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/2019\/refine-edges-in-affinity\/","title":{"rendered":"Refine edges in Affinity"},"content":{"rendered":"<p><strong>What:<\/strong> Refine edges &gt; Apply &gt; Done!<\/p>\n<p><strong>Where:<\/strong> in <a href=\"https:\/\/affinity.serif.com\/photo\/\" target=\"_blank\" rel=\"noopener noreferrer\">Affinity Photo<\/a><\/p>\n<p>A client wanted his name as his logo in a handwritten style. He was thinking of a handwritten font; I asked him to actually write his name for me because if you want personal, it&#8217;s often good to <em>be<\/em> personal. He wrote his name for me on paper, took a photo of it and emailed it to me.<\/p>\n<p>I did all the obvious things: increase contrast, select the light background with the <em>Flood Select Tool<\/em>, <em>Invert Pixel Selection<\/em>, copy and paste it to a new layer. So far, so good. It looked smooth.<\/p>\n<p><!--more-->But I didn&#8217;t want the letters to be a dark gray, I wanted them to be white. And it didn&#8217;t matter how I changed the color, when I did, all the rough edges on the letters popped out and it didn&#8217;t look good. I tried <em>Feather&#8230;<\/em>, <em>Smooth&#8230;<\/em>, <em>Refine Edges&#8230;<\/em>, <em>Grow \/ Shrink&#8230;<\/em>\u00a0 all the obvious steps and finally I got it to work. It looked so smooth. I was in awe. In all my years of image editing in Photoshop, I had managed some pretty smooth edges but nothing like this. It looked vector-sharp. I was so happy. And I was sure it was the <em>Grow \/ Shrink&#8230;<\/em> option in Affinity because that was the last one I&#8217;d tried before the magic happened. I was going to write it down so I wouldn&#8217;t forget but first I had a deadline.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-385 size-full\" src=\"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-content\/uploads\/2019\/08\/refine-edges-affinity.gif\" alt=\"\" width=\"546\" height=\"167\" \/><\/p>\n<p>When I started to write this post, I opened Affinity and tried to recreate the effect with the steps I thought I&#8217;d taken. First, I tried <em>Grow \/ Shrink&#8230;<\/em> but no matter the settings I tried, I could not get that same smoothness. I tried <em>Grow \/ Shrink&#8230;<\/em> in combination with <em>Feather&#8230;<\/em> but even a 1px feather just blurs the edges. And <em>Smooth&#8230;<\/em> didn&#8217;t seem to smooth what I had hoped for. I was stumped. I knew it wasn&#8217;t <em>Refine Edges&#8230;<\/em> I remembered opening that and seeing all the settings and thinking, I&#8217;ll try that later, if nothing else works.<\/p>\n<p>I went to bed dejected, an unfinished post sitting in the trash, thinking that smooth result had been a one off, something I&#8217;d never be able to reproduce.<\/p>\n<p>I tend to get dejected at night but I&#8217;m usually hopeful and determined in the morning.<\/p>\n<p>When the thing you&#8217;ve lost isn&#8217;t in any of the places you think it could be, stop thinking and start searching through everything methodically.<br \/>\nWhich is what I did but I still started with the most obvious seeming option: <em>Refine Edges&#8230; <\/em>and that was all that was needed.<\/p>\n<h3>All the steps<\/h3>\n<ol>\n<li>I dragged the photo into Affinity<\/li>\n<li>Adjustment &gt; Brightness \/ Contrast &gt; Contrast 100% and click Linear<\/li>\n<li>I like to select both layers and Merge Visible<\/li>\n<li>Selected the Flood Select Tool, I had it set to Tolerance 20% and Contiguous checked<\/li>\n<li>Clicked the light background, added to the selection the space inside a&#8217;s, e&#8217;s, o&#8217;s and d&#8217;s and the edges of the paper<\/li>\n<li>Select &gt; Invert Pixel Selection<\/li>\n<li>Select &gt; Refine Edges&#8230;<\/li>\n<li>I like to change Output to New Layer but I didn&#8217;t change anything else and you don&#8217;t need to do even that. If you don&#8217;t, copy and past your selection to a new layer yourself<\/li>\n<li>With your new layer selected under Effects choose Color Overlay and the color you want <em>et voil\u00e0<\/em><\/li>\n<\/ol>\n<p>Affinity does all the work, easier\u00a0 and sweeter than I imagined.<\/p>\n<hr \/>\n<div class=\"_3bJ2H CHExY\">\n<div class=\"_1l8RX _1ByhS\">Photo by <a href=\"https:\/\/unsplash.com\/@davealmine?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noopener noreferrer\">Dawid Zawi\u0142a<\/a> on <a href=\"https:\/\/unsplash.com\/search\/photos\/smooth-edge?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noopener noreferrer\">Unsplash<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What: Refine edges &gt; Apply &gt; Done! Where: in Affinity Photo A client wanted his name as his logo in a handwritten style. He was thinking of a handwritten font; I asked him to actually write his name for me because if you want personal, it&#8217;s often good to be personal. He wrote his name &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Refine edges in Affinity\" class=\"read-more button\" href=\"https:\/\/www.blindemanwebsites.com\/today-i-learned\/2019\/refine-edges-in-affinity\/#more-380\" aria-label=\"Read more about Refine edges in Affinity\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[16,14],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-new-things","tag-affinity","tag-images","infinite-scroll-item"],"_links":{"self":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":0,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}