R C-R Posted August 31, 2017 Share Posted August 31, 2017 1 hour ago, dmstraker said: Yes, confusing isn't it. Yes, & so is that recording Edit > Fill as a macro step offers the option to choose a custom color when the macro runs, even when selecting the "Inpainting" option during recording, & that step appears simply as "Fill" in the macro's steps. While we are on the subject, what do you think of my half-baked 'theory' about why select transparent instead of the two step select opaque & invert steps in your macro doesn't give consistent results? To test it, I have been playing around with a modified version of your macro (attached): So far, it seems to work reliably, but I have not tested it as much as I would like. Dave's Alpha Inpaint (modified).afmacro Quote 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 More sharing options...
dmstraker Posted September 1, 2017 Share Posted September 1, 2017 I originally used selection of transparent pixels, but then some pixels at the edge didn't get selected. Turns out these were partly-transparent ones, created during the rotation algorithm. Fix for this is to use a 'grow' on the selection. Another, more reliable one, is to select only fully opaque pixels and invert the selection, which I now use. drscheme 1 Quote Dave Straker Cameras: Sony A7R2, RX100V Computers: Win10: Chillblast i9 Custom + Philips 40in 4K & Benq 23in; Surface Pro 4 i5; iPad Pro 11" Favourite word: Aha. For me and for others. Link to comment Share on other sites More sharing options...
R C-R Posted September 1, 2017 Share Posted September 1, 2017 1 hour ago, dmstraker said: Fix for this is to use a 'grow' on the selection. Another, more reliable one, is to select only fully opaque pixels and invert the selection, which I now use. Have you tried making the selection using the "Select partially transparent" option instead? Since it actually selects both fully & partially transparent pixels, in all my tests it seems to select exactly the same pixels as selecting only fully opaque pixels and invert the selection. Quote 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 More sharing options...
dmstraker Posted September 4, 2017 Share Posted September 4, 2017 On 01/09/2017 at 10:27 PM, R C-R said: Have you tried making the selection using the "Select partially transparent" option instead? Since it actually selects both fully & partially transparent pixels, in all my tests it seems to select exactly the same pixels as selecting only fully opaque pixels and invert the selection. Aha. I'll try that. Thanks, RC-R! Quote Dave Straker Cameras: Sony A7R2, RX100V Computers: Win10: Chillblast i9 Custom + Philips 40in 4K & Benq 23in; Surface Pro 4 i5; iPad Pro 11" Favourite word: Aha. For me and for others. 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.