Rick Brewster Posted September 20 Author Share Posted September 20 6 hours ago, _koh_ said: edit: Is PDN doing the same worth it. Like using INT8 just for sRGB. PDN uses Flip+FP16 ("WAC mode") when three conditions are met: 1) Settings -> Windows Advanced Color is enabled (which is the default), and 2) the display is configured for HDR or WCG, and 3) hardware acceleration is enabled (also the default). This is the only way that you will see colors outside of sRGB's range/gamut. PDN runs in "sRGB mode" and uses Flip+UInt8 when any of the opposite conditions are true: 1) Settings -> WAC is not enabled, or 2) the display is configured for SDR, or 3) hardware acceleration is disabled. In these cases, using an FP16 swapchain gains nothing because Windows will convert it to UInt8 anyway in the compositor (DWM). The color profile of the current image does not affect any of this, it only affects internal optimizations (e.g. skipping certain parts of the processing pipelines). If PDN is running in "sRGB mode" then it will say so in Settings -> Color Management. Internally, PDN renders using FP16 scRGB (linear gamma) except when hardware acceleration is disabled. So the visual quality of the canvas still gets an upgrade for SDR mode, although there is a small performance cost due to the FP16 scRGB -> UInt8 sRGB conversion at the very end. Having one conversion at the end of the rendering pipeline is still a lot cheaper than having a bunch of scRGB <--> sRGB conversions in several other places. The code is also substantially simpler. You may notice that the selection highlight color is a bit different, and that things like the selection outline and the selection handles look better. This is because linear blending is a lot better for these. You can see the difference by drawing a selection, switching to the Move Selection tool, and then going to Settings -> Graphics and toggling Use hardware acceleration for UI and canvas back and forth. The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
_koh_ Posted September 20 Share Posted September 20 Ah yeah, canvas is still gamma correct even when using SDR mode. Thanks for the explanation. Link to comment Share on other sites More sharing options...
IngridFJ Posted September 27 Share Posted September 27 Good news! @Tactilis I've contacted AVG. The file is now marked as clean in the AVG virus database. Updating PDN finally succeeded! Link to comment Share on other sites More sharing options...
Tactilis Posted September 27 Share Posted September 27 22 minutes ago, IngridFJ said: Good news! @Tactilis I've contacted AVG. The file is now marked as clean in the AVG virus database. Updating PDN finally succeeded! Good. But you may well run into this false positive problem again in a future paint.net update. The best advice is to uninstall AVG and use Windows Defender, which is already part of your system. You'd have avoided all of the difficulty you have experienced with AVG. 1 Link to comment Share on other sites More sharing options...
iPlay2Win Posted September 28 Share Posted September 28 On 9/15/2024 at 11:52 AM, IngridFJ said: Wow! My antivirus program reports that this contains a Trojan Horse and therefore the installation was stopped. In PDN I turned off the automatic updates of beta versions afterwards, but then also installation fails. In Windows 10. I'll have to wait for another version I guess. Attached 2 screenshots. I just tell windows 11 to allow a Particular file and it will download and install without any problems. Go to Windows Security/Virus & threat protection, scroll down to Virus & threat protection setting, and click on Manage setting, scroll down to Exclusions and click on Add or remove exclusions, when you click on + Add an exclusion grey box you will get a drop down that will give you multiple choice on what you want to exclude, File, folder, File type and process. This should allow you to download even the shadiest of file type or programs if you add it to this list. Link to comment Share on other sites More sharing options...
Tactilis Posted September 28 Share Posted September 28 2 hours ago, iPlay2Win said: I just tell windows 11 to allow a particular file and it will download and install without any problems. @iPlay2Win That advice is not relevant to the problem @IngridFJ was experiencing. It is clear from her posts that the issue was with AVG, not with Windows. Link to comment Share on other sites More sharing options...
Rick Brewster Posted Sunday at 04:04 AM Author Share Posted Sunday at 04:04 AM New build with lots of bug fixes: The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts