onno-r Posted January 22 Share Posted January 22 I have a clean pixel image with flat colours. In the blend options the coverage map is flat-top, antialiasing set to force-off. Yet when I use the clone brush with a new brush- hardness set to 100% opacity and flow to 100% - I get antialiased result. Is there any way to get rid of this? Like in Photoshop you can set your general settings to always use nearest neighbour. Thanks, Onno Quote Link to comment Share on other sites More sharing options...
GarryP Posted January 22 Share Posted January 22 Have you tried turning Wet Edges OFF on the Context Bar? That option, I your screenshot, is ‘hidden’, at the right-hand side – just press the ‘double arrow’ button to get more options. Quote Link to comment Share on other sites More sharing options...
onno-r Posted January 22 Author Share Posted January 22 wet edges are off (by default) Quote Link to comment Share on other sites More sharing options...
GarryP Posted January 22 Share Posted January 22 I was hoping that would be the quick answer, it often is. Would you be able to supply the document you are using? Quote Link to comment Share on other sites More sharing options...
onno-r Posted January 22 Author Share Posted January 22 Garry, I was hoping for a quick answer too. The original file is client work, but I have another file, same setup, same results. My guess is that it has something to do with the application. Or the tool. Antialiasing also occurs when you have one-colour (say black) pixel shape as a layer. Once you rotate that 90 dgs. there is the antalias again. Shouldn't be with this 90 dgs rotation. camouflage-test.afphoto Quote Link to comment Share on other sites More sharing options...
GarryP Posted January 22 Share Posted January 22 Thanks for the file. I can see what you mean now – even with the “64 Round Brush” from the “Basic” Category, the edges always seem to have some kind of ‘smudging’ or blending/transparency. I tried adding a new Pixel Layer, setting the Antialiasing for that layer to “Force Off” and trying again with the Source set to “Current Layer & Below”, but the same effect is there, although to a lesser extent. I tried different Blend Options for the new Pixel Layer but can’t seem to get anything much better. I also tried making my own brush from a rectangle of black pixels, just to see what happened, and still get the same thing. I don’t know what to try next – there’s a chance that the Clone Tool simply wasn’t designed to do ‘entirely whole pixel cloning’ like this if it was created for photo touch-up where an amount of ‘smudge’/blend is normally wanted. Quote Link to comment Share on other sites More sharing options...
onno-r Posted January 22 Author Share Posted January 22 Thanks Garry for the extensive answer. Every possibility covered! The default idea behind Affinity Photo might indeed be photograpy. Image creation goes beyond that. Too bad! Thanks, Onno Quote Link to comment Share on other sites More sharing options...
GarryP Posted January 22 Share Posted January 22 You’re welcome. Hopefully someone will come along and show us how to do it – if it’s not in the design of the software there’s sometimes a ‘trick’ that can be used. Quote Link to comment Share on other sites More sharing options...
loukash Posted January 22 Share Posted January 22 1 hour ago, GarryP said: if it’s not in the design of the software If it's not a bug, then it's a major conceptual flaw: All brushes should respect Force pixel alignment much like objects do. And in fact, they do, except for the brush border. Only the Pixel Tool does reliably and absolutely snap to integer pixels by definition, regardless snapping settings. I was pulling out my hair on similar stuff before, already in v1. 1 hour ago, GarryP said: a ‘trick’ that can be used. clone onto a new layer erase borders with the Pixel tool or: clone onto a new layer Select → Alpha Range → Select Partially Transparent delete Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 Layer anti-alias settings impact vector layers only, and have no impact to pixel layers. Pixel based brushes and tools always have forced anti-aliasing. You cannot deactivate it. So when you use pixel brushes, you will get multiple levels of antialiasing and resampling atop of each other: pixel brush anti-aliasing for every brush stroke inside any bitmap layer Vector layers have anti-aliasing settings in blend options resampling settings (in performance settings for in-canvas rendering, in export settings for export, enforced with no method to avoid when using rasterize) like bilinear for rendering and export Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 8 hours ago, onno-r said: Is there any way to get rid of this? Instead of using the clone brush, you may use alternative methods: make a gross selection of the rough area (larger) copy/paste the area have snapping on with fore pixel alignment on, move by whole pixels off, other snapping off add a mask layer to clone layer use pixel brush to paint in mask or remove unwanted areas Check that the mask is 100% hard (isolation mode) Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 Another observation: on iPad, the clone brush has a fixed hardness setting of 80% which cannot be adjusted in the regular numeric input fields. Even when you choose a fresh square brush. You need to enter the (formerly) „more“ settings by clicking the small brush preview icon in top row. Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 In cas you are using the non-destructive workflow, you can repair the clone brush behavior: add a new pixel layer activate clone brush select a square brush. Set the brush to 1px size, 100% hardness (in „more“ / brush icon, not the numeric settings, set wet edges to off) set brush source to current & below choose source position paint in clone area when done, add levels adjustment to clone layer (masking position) choose alpha channel set black level to 50% set white level to 50% now the result is hard, the former soft edged get „repaired“ to hard edges. This works reliable as the brush anti-aliasing is only applied to outer edges. loukash 1 Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. Link to comment Share on other sites More sharing options...
onno-r Posted January 22 Author Share Posted January 22 The best workaround so far. Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 Forgot to mention: on M1 based Mac, Levels on alpha is broken (unfixed bug). Use curves adjustment instead, choose alpha, set left node to 0.5/0.0, set right side to 0.5 / 1.0 loukash 1 Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. Link to comment Share on other sites More sharing options...
loukash Posted January 22 Share Posted January 22 42 minutes ago, NotMyFault said: on M1 based Mac, Levels on alpha is broken (unfixed bug) M2 too, obviously… Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
loukash Posted January 22 Share Posted January 22 50 minutes ago, NotMyFault said: Levels on alpha is broken Speaking of which: It's apparently only broken on Pixel layers. If you convert the cloned layer to an Image layer, Levels alpha works. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
NotMyFault Posted January 22 Share Posted January 22 10 minutes ago, loukash said: Speaking of which: It's apparently only broken on Pixel layers. If you convert the cloned layer to an Image layer, Levels alpha works. Interesting, I did not spot that detail Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. 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.