dhayton Posted June 8, 2016 Share Posted June 8, 2016 FYI, this question has to do with AP: Looking at a recent image, I noticed some faint banding that was visible when I applied a color gradient (maybe it was there in the B&W version, but I couldn't see it). See the darker of these two images: https://forum.affinity.serif.com/index.php?/topic/20687-photos-from-a-mountaintop/(FWIW, I see the banding on my non-retina, late 2013 iMac; I haven't checked on other machines). Searching the forums I came across a comment about the "Dither Gradients" preference and the different effects if you are working in 8-bit or 16-bit (see MEB's comments in this thread: https://forum.affinity.serif.com/index.php?/topic/13742-unwanted-noise-in-gradients). So, my question: If I'm working in 16-bit, is it better to leave "Dither Gradients" preference checked? Or unchecked? Thanks, Darin Quote Link to comment Share on other sites More sharing options...
Staff MEB Posted June 10, 2016 Staff Share Posted June 10, 2016 Hi Darin, It's better to leave Dither Gradients checked as this will help to remove/eliminate the banding when creating gradients no matter if you are working with 8 bit or 16 bit images (although you will get better results with 16bit + dither). Leigh and SrPx 2 Quote A Guide to Learning Affinity Software | Affinity Quick Reference Link to comment Share on other sites More sharing options...
scottkane Posted March 26, 2020 Share Posted March 26, 2020 (edited) Hi, I have dither gradients, and no matter what I do I have banding, I tried also to work in 16bits, then convert to 8bits (flattened image), and nothing fixes the banding, when you work in 16bits in photoshop and then you flaten image and convert to 8 bits, it applies a perfect dither and no banding is there. This gradient is added from a layer style, is there possible to fix this? Edited March 26, 2020 by scottkane Quote Link to comment Share on other sites More sharing options...
Armelline Posted September 20, 2021 Share Posted September 20, 2021 Also having this issue when creating a gradient. No matter what I try I can't get rid of gthe obvious banding. Anyone figured this out since it was last posted? Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted September 21, 2021 Share Posted September 21, 2021 There are multiple possible reasons why you get banding during rendering in Photo (how the file is displayed in Photo). This is only preview which might differ from exported files. First of all, if you export the image (as PNG to avoid jpeg compression artifacts), does the export have a banding issue when opened with a web browser? If yes, the banding might be caused by limitations of your system (Monitor / display adapter / driver / OS settings). It could be limited to 8 bit per color channel, whereas other settings or configurations might be able to display 10 or 12 bit color depth. I recreated your test image. In Photo, you can activate "Dither Gradients". This smooths gradients, but only for display in Photo. It has no impact to exported files. For me, this settings removes any visible banding. Even when disabled, the gradient is much smoother vs. your screenshot. PNG file with 16 bit, showing almost no banding Screenshots (limited to 8 bit color depth by OS, so showing more banding than reality) banding test.afphoto 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. Link to comment Share on other sites More sharing options...
Paul Coddington Posted October 4, 2021 Share Posted October 4, 2021 I'm seeing an odd pattern of banding with gradient overlay in Designer at the moment, that ripples badly while adjusting settings, even in 16-bit document with 10-bit video output to calibrated monitor, not just while editing but also after export to PNG 32. Not seeing banding in SVG files imported into Affinity from elsewhere (eg: from Wikimedia Commons), but rather only in objects I create. I have emailed support tonight, but just realized my attached document was accidentally set to 8-bit (however, re-testing with a 16-bit document does not solve the problem). There has been some major optimization with the latest version, so I'm wondering if this is a new problem others are encountering? But I might have made a silly error due to fatigue, so I am not jumping to conclusions yet. I have not seen this problem before now, but I haven't used gradients much until this week (I've been doing 'old school' animation-cel style art and simple icons for software). That gradients are smooth for SVG imported into Affinity, both when edited and exported to PNG, but not for vectors created from scratch within Affinity using gradient overlay FX is an interesting puzzle. Likewise, those SVG files are smooth in photo viewers and web browsers. Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted October 4, 2021 Share Posted October 4, 2021 Hi Paul, There are open issues regarding banding. But it depends how the gradient has been created. Can you share an document to reproduce the issue? I have no issues creating smooth gradients, if a avoid some of the cliffs like merging, 8-bit color mode, staying away from advanced functions from Layer FX like profiles etc. 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. Link to comment Share on other sites More sharing options...
Paul Coddington Posted October 5, 2021 Share Posted October 5, 2021 Hi NotMyFault, After I posted, I realized that what had happened was that my gradient had been accidentally created in an 8-bit document, but remained seemingly stuck in 8-bit when the document was corrected later to 16-bit, which seemed unexpected behavior for what I had assumed about the nature of vectors. When I recreated the overlay in 16-bit, it greatly improved, although not quite as smooth as the imported SVG version I had tried to reproduce (as practice and learning curve), but people would have trouble seeing the remaining banding on an average monitor, I think. So, I can still see some very slight gradient banding on objects I create, but not on imported SVG, which indicates things could be a little better, but the problem is not enough for anyone to really notice unless really squinting. Interestingly, when I had the gradient object visible, PNG would export as 32-bit (unexpected, so was not noticed at first), but when I had it hidden, PNG would export as 64-bit. Unfortunately, I have already corrected the problem and moved on to getting my Windows 11 upgrade underway and the files I emailed in are probably not much help after all, given my initial take on the problem was erroneous. But today I learned that not all vectors (or rather effects applied to them) in a document take on the bit depth of the document, and the bit depth of the export can depend on which objects are visible. Not sure if that is expected behavior or a glitch, but at least it can be worked around once understood. Quote Link to comment Share on other sites More sharing options...
borntobe Posted August 29, 2022 Share Posted August 29, 2022 Hey, I have 8-bit png image rendered in 3D software with perfect gradient transition, but when I drag it to affinity photo for postproduction and use your Develop Persona it always gets these nasty dither gradients bandings, that's really disappointing... Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted August 29, 2022 Share Posted August 29, 2022 What happens if you don't use the Develop Persona? If you are starting with an 8 bit PNG I would just open it, change the bit depth to 16 and work in the ordinary Photo Persona. I can't see any advantage to working with an 8 bit PNG in the Develop Persona. Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 9 hours ago, borntobe said: Hey, I have 8-bit png image rendered in 3D software with perfect gradient transition, but when I drag it to affinity photo for postproduction and use your Develop Persona it always gets these nasty dither gradients bandings, that's really disappointing... It depends on what operations you are using. 8 bit color depth does not leave much room for color stretching. Develop Persona is for RAW files, which are 32 bit normally. There is no reason to use the Develop Persona for non-RAW images, as all relevant operations can be done in Photo Persona, and non-destructively. I would not expect you need one of the rare functions only available in Develop, e.g. chromatic aberration removal, for rendered files. Can you upload the actual file, or a relevant part of it, and list your edit steps? 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. Link to comment Share on other sites More sharing options...
borntobe Posted August 30, 2022 Share Posted August 30, 2022 I tried whatever you suggested, but then even if I just import and export it without touching anything, still get these gradient bandings... that's when comparing the two images in windows 11 image preview Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 We would need the actual files in PNG format to investigate deeper. Possible causes: export settings differ from source file palettised export Color profile changes A PNG file can be read and exported losslessly in Affinity Photo. If the export differs, there is a reason. 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. Link to comment Share on other sites More sharing options...
borntobe Posted August 30, 2022 Share Posted August 30, 2022 Sure, here are the files, thank you! Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 21 minutes ago, borntobe said: Sure, here are the files, thank you! Interesting. The before / after files are visually identical (when opened in Affinity Photo, on MacOS). The 3rd file showing both side by side shows differences. What application are you using for the 3rd image? 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. Link to comment Share on other sites More sharing options...
borntobe Posted August 30, 2022 Share Posted August 30, 2022 Thanks for the prompt replies - it's just windows 11 image preview windows that have the option to compare multiple images... Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 I have no clue, and can't test under Windows 11. maybe OS specific issue. Can you try to use the file compare cmd line utility (fc.exe) under Windows? Maybe a bug in Windows 11 how it renders PNG files. Can you please try: Open Photo New Stack add before after image deactivate alignment execute when document opens, remove both images from stack (move them out of stack, above) select top layer set blend mode to "difference" the rendering goes black add levels adjustment on top, above all existing layers set "white level" to 0. If there is any difference between layers, it will be emphasised and clearly visible. On MacOs, no difference! stack of image for differences.afphoto 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. Link to comment Share on other sites More sharing options...
Pšenda Posted August 30, 2022 Share Posted August 30, 2022 Yes - before and after is "same" image (same file data - see content comparison, for example Total Commander). Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
borntobe Posted August 30, 2022 Share Posted August 30, 2022 Ok, thanks, but if they are the same why do all renders look seamless, but after being exported with AP getting these gradient bandings on windows preview? Windows bug? so what to say to the person I'll be sending these - if the images look bad it's because of your Windows. or maybe just don't use Affinity Photo for the post-production? Also if they are the same, why the render is 2.24 MB and after AP export 1.74 MB Quote Link to comment Share on other sites More sharing options...
Pšenda Posted August 30, 2022 Share Posted August 30, 2022 17 minutes ago, borntobe said: Also if they are the same, why the render is 2.24 MB and after AP export 1.74 MB The files you put here are exactly the same size. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 Can you make screenshots of the exact export settings, including „more“? 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. Link to comment Share on other sites More sharing options...
borntobe Posted August 30, 2022 Share Posted August 30, 2022 hm, that's strange, because on my end they are not the same size, please check out the image and I add them to zip file this time... hm.rar Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted August 30, 2022 Share Posted August 30, 2022 Mac doesn't like RAR files, unable to open it. 41 minutes ago, borntobe said: check out the image and I add them to zip file this time... Aside from that I noticed that there is no Profile in the ones you posted earlier and there is an Alpha channel. Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
walt.farrell Posted August 30, 2022 Share Posted August 30, 2022 9 minutes ago, Old Bruce said: Mac doesn't like RAR files, unable to open it. You would need an app like Unarchiver (or possibly others) from the MAS. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
NotMyFault Posted August 30, 2022 Share Posted August 30, 2022 I posted a false conclusion and deleted that post to avoid further confusion. on Mac, both files look identical, both in photo, and in Preview.below my screenshot of both files side by side in preview. Initially it looked different, but that was caused by color burn-in of my LG display (which will be healed automatically every day when in sleep mode). I do not trust Windows Photo / Preview: it was never able to correctly handle color profiles. 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. 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.