Giter Club home page Giter Club logo

pdn-avif's Introduction

pdn-avif

A Paint.NET filetype plugin that allows AVIF images to be loaded and saved with transparency.

This plugin is bundled with Paint.NET 4.2.14 and later.

If you need the features from a newer version you can still install the plugin.
The plugin will override the bundled version if it has higher version number.

Installation

  1. Close Paint.NET.
  2. Place AvifFileType.dll, AvifNative_ARM64.dll and AvifNative_x64.dll in the Paint.NET FileTypes folder which is usually located in one the following locations depending on the Paint.NET version you have installed.
Paint.NET Version FileTypes Folder Location
Classic C:\Program Files\Paint.NET\FileTypes
Microsoft Store Documents\paint.net App Files\FileTypes
  1. Restart Paint.NET.

License

This project is licensed under the terms of the MIT License.
See License.txt for more information.

Source code

Prerequisites

  • Visual Studio 2022
  • Paint.NET 5.0 or later

Building the plugin

  • Open the solution
  • Change the PaintDotNet references in the AvifFileType project to match your Paint.NET install location
  • Update the post build events to copy the build output to the Paint.NET FileTypes folder
  • Build the solution

3rd Party Code

This project uses the following libraries. (the required header and library files are located in the 3rd-party sub-folders).

  • aom (v3.6.0 tag)

pdn-avif's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pdn-avif's Issues

Plugin requires Core 7 - why?

I have Paint.NET 4.3.7, which is built against Core 6.0; AVIF plugin, bundled w Paint.NET was smth like 1.1.14 and it was working.
I downloaded latest plugin v1.1.31 and... boom! Nothing works, because it's built against Core 7.0; Why?
Is it possible to make one more release, but for Core 6.0? (please)

Just my guess: Pain.NET 5.* is built against Core 7.0, but I cannot use it, bc I use Windows 7 (where Paint 5 doesn't work). What is strange, bc I have VS2022 and two Core versions: 6.0 & 7.0 (to develop apps).

Anyway it could be nice to have plugin for Core 6.0 (or at least some instruction how to build).

Thanks!

Very large AVIF saving is unresponsive

Got this e-mail sent from Paint.NET, forwarding it along (I'm just the messenger!). I'll send them a URL to this issue as well.

Unresponsive very large AVIF saves when canceling preview. Captured a very long webpage, 7MB PNG using full page screen capture plugin, decided to compress it with avif (very slow), the preview calculation takes a long time so I just hit ok to save which froze the preview at 33% and saving dialog said canceling while also at 33% for many minutes with 100% cpu, eventually it changed to saving and ended but it didn’t seem like it was actually cancelling.

Even when the avif saving works, the progress meter is useless as it goes to 33% where it stays for a while and jumps to the end.

AVIF file - incompatible with Android 12 or newer

I have different android devices (tablet and smartphone) with Android 12 and 13.
Both support AVIF file format, but all saved pictures are incompatible with Android.

Is it possible to get an android compatible file format? That would be nice!

Hardware:
Samsung S10 (Android 12 - november 2012 security update)
Samsung TAB S7 (Android 13 - december 2022 security update)

Update readme after bundling

Mention that it's now integrated, similar to DDS and WebP's readme changes

It doesn't need the instructions for setting the AppSetting that disables the built-in FileType

Must target .NET 4.7

The AvifFileType project is currently targeting .NET 4.8.

Paint.NET only requires .NET 4.7, and the next move will be to .NET Core 3.1 or 5.0.

AvifNative DLLs are enormous

These are about 7.5MB each. Is there a way to get these to be a lot smaller?

PDN is currently a 10MB download

Crash / failure with latest version bundled with PDN 4.2.15

I got this bug report via e-mail:

Hi,

I've discovered a bug in Paint.NET version 4.2.15, specifically in the bundled AV1 plugin. In some circumstances it fails to produce output and the plugin crashes when trying to save a photo as AVIF (fails gracefully, PDN remains functional - see 4.2.15_bug_window.png). I've included the bug report as an attachment (and translated a few key sentences to English since my native locale is pl-PL) but in addition to that, I've included some files to reproduce the bug and some for which AV1 plugin works without a hitch:

  • to start with the file 4.2.15_sample1_original_444.jpg crashes the plugin when trying to save it as AVIF,
  • next I've re-saved the above file using PDN with reduced resolution (640x640) and reduced chroma subsampling (4:2:0) resulting in 4.2.15_sample2_reduced_420.jpg - it also crashes AV1 plugin,
  • for comparison sake, I've included 4.2.15_sample3.jpg which is a low res (640x640) low chroma (4:2:0) picture - and it doesn't crash.

However, last two cases may be the most interesting:

  • when I re-saved sample1 using ffmpeg as a lossless PNG and then used PDN to save as AV1 - it doesn't crash,
  • and finally when I re-saved sample1 using PDN as a lossless PNG and then used PDN again to save as AV1 - it crashes.

Lastly it may be worth mentioning that the bug was introduced in version 4.2.15 (I suppose it boils down to including Avif FileType v1.1.6) - saving all of the above files as AVIF worked well in version 4.2.14.

I hope the above summary proves useful.

Yours,
Matthew
4.2.15_bug_report_avif.txt
4 2 15_sample1_original_444
4 2 15_sample2_reduced_420
4 2 15_sample3
4 2 15_bug_window

Consider changing default compression speed to 'Fast'

Saving with "Normal" is very slow, even on my Ryzen 3950X. Obviously due to aom's current implementation.

What do you think about changing the default to "Fast" ? (and potentially renaming 'Normal' since it's no longer 'normal')

Error when saving file with 4:4:4 Chrome Subsampling, 4:2:2 went OK. pdn-avif v1.1.0

Short description

I tried to save an image with 4:4:4 chroma subsampling but got an error "There was an error while saving the file.".

image

4:2:2 seems to be OK though

image

Environment info

  • Windows 10 x64 20H1 19041.508
  • Paint.NET v4.2.13 from Microsoft Store
  • pdn-avif v1.1.0

Error reproduction and details

Application version: paint.net 4.2.13

System.FormatException: The color image tiles must use the same YUV format and bit depth.
   at AvifFileType.AvifNative.HandleError(DecoderStatus status)
   at AvifFileType.AvifNative.DecompressColor(AvifItemData colorImage, Nullable`1 colorConversionInfo, DecodeInfo decodeInfo, Surface fullSurface)
   at AvifFileType.AvifReader.DecodeColorImage(UInt32 itemId, DecodeInfo decodeInfo, Nullable`1 colorConversionInfo, Surface fullSurface)
   at AvifFileType.AvifReader.FillColorImageGrid(Nullable`1 colorInfo, Surface fullSurface)
   at AvifFileType.AvifReader.ProcessColorImage(Surface fullSurface)
   at AvifFileType.AvifReader.Decode()
   at AvifFileType.AvifFile.Load(Stream input)
   at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 513
   at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass49_0.<UpdatePreviewAsync>b__0() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 623
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PaintDotNet.Dialogs.SaveConfigDialog.<UpdatePreviewAsync>d__49.MoveNext() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 633

Should FileType's name be "AVIF" or "AV1" ?

The built-in AV1FileType (PDN v4.2.11 and earlier) calls it "AV1" with, of course, *.avif as the extensions.

AvifFileType.dll (plugin) calls it "AVIF".

Should it be "AV1", "AVIF", or even "AV1 (AVIF)" ?

"BuildDate.txt" can be replaced with asterisk versioning

I see a pre-build event that generates a BuildDate.txt file using powershell.

If a "build date" is desired, you can actually get the C# compiler to do this automatically:

[assembly: AssemblyVersion("1.0.*.*")]

(or maybe you specify 1.0.* ... not sure which one is correct)

The first * (in the 3rd position, the "Build") will be become the # of days since 2000-01-01. Easy to calculate the build date from that.

The second * (in the 4th position, the "Revision") will be the # of seconds since UTC midnight, divided by 2. Easy enough to calculate the build time from that.

See also PdnInfo.cs::BuildTimeUtc

Created AVIF files don't display in Firefox

When converting a jpg to AVIF using PDN, Firefox says the file has errors when trying to load it.

This does not happen in Chrome, it displays the file perfectly fine.
I believe this is an issue with PDN because Firefox can load other AVIF images just fine.
If you convert the jpg to AVIF using an online converter, it also works perfectly fine in Firefox.

The AVIF validator spits out multiple warnings about tile widths and heights that they should be multiples of 64.

Used software:
Paint dot net 5.0.6
Firefox 113.0.2
Chrome 114

Access Violation in CompressImage() (v1.0.5.0)

This could be down a native call stack depending on what CompressImage() does. I'm trying to get the image that's causing this, or at least information on the size of it or something.

This is with 1.0.5.0, bundled with PDN 4.2.14 beta 7547. I don't think I see anything in the 1.0.6.0 commits that would fix this.

https://forums.getpaint.net/topic/116990-paintnet-4214-beta-build-7547/

Exception:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at AvifFileType.Interop.AvifNative_64.CompressImage(BitmapData& image, EncoderOptions options, ProgressContext progressContext, CICPColorData& colorInfo, SafeAV1ImageX64& colorImage, UIntPtr& colorImageSize, SafeAV1ImageX64& alphaImage, UIntPtr& alphaImageSize)
   at AvifFileType.AvifNative.CompressWithTransparency(Surface surface, EncoderOptions options, AvifProgressCallback avifProgress, UInt32& progressDone, UInt32 progressTotal, CICPColorData colorInfo, CompressedAV1Image& color, CompressedAV1Image& alpha)
   at AvifFileType.AvifFile.Save(Document document, Stream output, Int32 quality, CompressionSpeed compressionSpeed, YUVChromaSubsampling chromaSubsampling, Nullable`1 maxEncoderThreadsOverride, Surface scratchSurface, ProgressEventHandler progressCallback)
   at AvifFileType.AvifFileTypePlugin.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback)
   at PaintDotNet.Data.FileTypeProxy.OnSave(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback) in D:\src\pdn\src\PaintDotNet\Data\FileTypeProxy.cs:line 69
   at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 278
   at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass49_0.<UpdatePreviewAsync>b__0() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 614
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PaintDotNet.Dialogs.SaveConfigDialog.<UpdatePreviewAsync>d__49.MoveNext() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 633

Diagnostics:

Application                                          paint.net 4.2.14 (β 4.214.7547.1159)
Build Date                                           Sunday, August 30, 2020
Expiration Date                                      Sunday, November 22, 2020
Install type                                         Classic

Hardware accelerated rendering (GPU)                 True
Animations                                           True
DPI                                                  96 (1.00x scale)
Language                                             en-US

OS                                                   Windows 10 Pro x64 (10.0.19041.0) (0x30)
.NET Runtime                                         4.0.30319.42000
Physical Memory                                      16,095 MB

CPU                                                  Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
    Speed                                            ~3408 MHz
    Cores / Threads                                  4 / 8
    Features                                         SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2

Video Card                                           Intel(R) HD Graphics 530
    Dedicated Video RAM                              128 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                8,047 MB
    Vendor ID                                        0x8086
    Device ID                                        0x1912
    Subsystem ID                                     0x06C61028
    Revision                                         6
    LUID                                             0x0000E369
    Flags                                            AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              TriangleBoundary
    Compute Preemption                               ThreadBoundary
    Outputs                                          2
    Feature Level                                    Direct3D_12_1
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precision                                 UNorm8bpc, UNorm8bpcSrgb, UNorm16bpc, Float16bpc, Float32bpc

Video Card                                           Microsoft Basic Render Driver
    Dedicated Video RAM                              0 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                8,047 MB
    Vendor ID                                        0x1414
    Device ID                                        0x008C
    Subsystem ID                                     0x00000000
    Revision                                         0
    LUID                                             0x0000E8CC
    Flags                                            Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              InstructionBoundary
    Compute Preemption                               InstructionBoundary
    Outputs                                          0
    Feature Level                                    Direct3D_12_1
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precision                                 UNorm8bpc, UNorm8bpcSrgb, UNorm16bpc, Float16bpc, Float32bpc

Managed assemblies                                   30
    mscorlib                                         mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    PaintDotNet                                      PaintDotNet, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Core                                 PaintDotNet.Core, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Base                                 PaintDotNet.Base, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    WindowsBase                                      WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System.Core                                      System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System                                           System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Drawing                                   System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    PresentationFramework                            PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    PresentationCore                                 PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System.Windows.Forms                             System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    PaintDotNet.SystemLayer                          PaintDotNet.SystemLayer, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Framework                            PaintDotNet.Framework, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Resources                            PaintDotNet.Resources, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Effects                              PaintDotNet.Effects, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.Data                                 PaintDotNet.Data, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    PaintDotNet.SystemLayer.Native.x64               PaintDotNet.SystemLayer.Native.x64, Version=4.214.7547.1159, Culture=neutral, PublicKeyToken=null
    System.Configuration                             System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Xml                                       System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Xaml                                      System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Runtime.CompilerServices.Unsafe           System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    DdsFileTypePlus                                  DdsFileTypePlus, Version=1.10.4.0, Culture=neutral, PublicKeyToken=null
    WebPFileType                                     WebPFileType, Version=1.3.4.0, Culture=neutral, PublicKeyToken=null
    AvifFileType                                     AvifFileType, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null
    Accessibility                                    Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Buffers                                   System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    System.Collections.Immutable                     System.Collections.Immutable, Version=1.2.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Memory                                    System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    System.Xml.Linq                                  System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    PresentationFramework-SystemXmlLinq              PresentationFramework-SystemXmlLinq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Native modules                                       204
    PaintDotNet.exe                                  C:\Program Files\paint.net\PaintDotNet.exe, version=4.214.7547.1159
    ntdll.dll                                        C:\WINDOWS\SYSTEM32\ntdll.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    MSCOREE.DLL                                      C:\WINDOWS\SYSTEM32\MSCOREE.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    KERNEL32.dll                                     C:\WINDOWS\System32\KERNEL32.dll, version=10.0.19041.329 (WinBuild.160101.0800)
    KERNELBASE.dll                                   C:\WINDOWS\System32\KERNELBASE.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    0PatchLoaderX64.dll                              C:\Program Files (x86)\0patch\Agent\0PatchLoaderX64.dll, version=20.06.18.10800
    USER32.dll                                       C:\WINDOWS\System32\USER32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    win32u.dll                                       C:\WINDOWS\System32\win32u.dll, version=10.0.19041.450 (WinBuild.160101.0800)
    GDI32.dll                                        C:\WINDOWS\System32\GDI32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    gdi32full.dll                                    C:\WINDOWS\System32\gdi32full.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    msvcp_win.dll                                    C:\WINDOWS\System32\msvcp_win.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    ucrtbase.dll                                     C:\WINDOWS\System32\ucrtbase.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    ADVAPI32.dll                                     C:\WINDOWS\System32\ADVAPI32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    msvcrt.dll                                       C:\WINDOWS\System32\msvcrt.dll, version=7.0.19041.1 (WinBuild.160101.0800)
    sechost.dll                                      C:\WINDOWS\System32\sechost.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    RPCRT4.dll                                       C:\WINDOWS\System32\RPCRT4.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    VERSION.dll                                      C:\WINDOWS\SYSTEM32\VERSION.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    dbghelp.dll                                      C:\WINDOWS\SYSTEM32\dbghelp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    dbgcore.DLL                                      C:\WINDOWS\SYSTEM32\dbgcore.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    IMM32.DLL                                        C:\WINDOWS\System32\IMM32.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    ntmarta.dll                                      C:\WINDOWS\SYSTEM32\ntmarta.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    mscoreei.dll                                     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.8.4180.0 built by: NET48REL1LAST_B
    SHLWAPI.dll                                      C:\WINDOWS\System32\SHLWAPI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    kernel.appcore.dll                               C:\WINDOWS\SYSTEM32\kernel.appcore.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    clr.dll                                          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    VCRUNTIME140_CLR0400.dll                         C:\WINDOWS\SYSTEM32\VCRUNTIME140_CLR0400.dll, version=14.10.25028.0 built by: VCTOOLSD15RTM
    ucrtbase_clr0400.dll                             C:\WINDOWS\SYSTEM32\ucrtbase_clr0400.dll, version=14.10.25028.0 built by: VCTOOLSD15RTM
    psapi.dll                                        C:\WINDOWS\System32\psapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    mscorlib.ni.dll                                  C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\828ccaa50bf1ef868f4ecc1cf23f7dff\mscorlib.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    ole32.dll                                        C:\WINDOWS\System32\ole32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    combase.dll                                      C:\WINDOWS\System32\combase.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    bcryptPrimitives.dll                             C:\WINDOWS\System32\bcryptPrimitives.dll, version=10.0.19041.264 (WinBuild.160101.0800)
    uxtheme.dll                                      C:\WINDOWS\system32\uxtheme.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    FencesMenu64.dll                                 C:\Program Files (x86)\Stardock\Fences\FencesMenu64.dll, version=3.0.9.11
    SHELL32.dll                                      C:\WINDOWS\System32\SHELL32.dll, version=10.0.19041.329 (WinBuild.160101.0800)
    OLEAUT32.dll                                     C:\WINDOWS\System32\OLEAUT32.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    USERENV.dll                                      C:\WINDOWS\SYSTEM32\USERENV.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WTSAPI32.dll                                     C:\WINDOWS\SYSTEM32\WTSAPI32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    gdiplus.dll                                      C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.450_none_fae7a009761b0b44\gdiplus.dll, version=10.0.19041.450 (WinBuild.160101.0800)
    CRYPTSP.dll                                      C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    rsaenh.dll                                       C:\WINDOWS\system32\rsaenh.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    bcrypt.dll                                       C:\WINDOWS\System32\bcrypt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    CRYPTBASE.dll                                    C:\WINDOWS\SYSTEM32\CRYPTBASE.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.ni.dll                                    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\ded0489c10175ac76b2e1eb72027b058\System.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    System.Core.ni.dll                               C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\51c717074d410a0c57c8c71f559b7912\System.Core.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    WindowsBase.ni.dll                               C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\WindowsBase\5997e1feefa0232ed0d8d5beadaacff2\WindowsBase.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    System.Drawing.ni.dll                            C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Drawing\3185f3525da31135f479b02aae951fc9\System.Drawing.ni.dll, version=4.8.4084.0 built by: NET48REL1
    PresentationCore.ni.dll                          C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PresentationCore\39e3bba6533fef1544c3070622f6b0cd\PresentationCore.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    PresentationFramework.ni.dll                     C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\9a190b2db4497b7d1047c7e7c74b78cc\PresentationFramework.ni.dll, version=4.8.4200.0
    PaintDotNet.Base.ni.dll                          C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\14a1784641f91266c69710f19cc60a9b\PaintDotNet.Base.ni.dll, version=4.214.7547.1159
    System.Windows.Forms.ni.dll                      C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\9f67e503faae2574f4d89466d96d4a7b\System.Windows.Forms.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    PaintDotNet.SystemLayer.ni.dll                   C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\906b55d3ae999e382518635e0c8c8c58\PaintDotNet.SystemLayer.ni.dll, version=4.214.7547.1159
    PaintDotNet.Core.ni.dll                          C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\2b06116edc0299bab11f5b1f1254136e\PaintDotNet.Core.ni.dll, version=4.214.7547.1159
    PaintDotNet.Resources.ni.dll                     C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\588cc6b3549cbf40cc123ade8a032373\PaintDotNet.Resources.ni.dll, version=4.214.7547.1159
    PaintDotNet.Framework.ni.dll                     C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\b21d821279ad1880059ef3cd6a566900\PaintDotNet.Framework.ni.dll, version=4.214.7547.1159
    PaintDotNet.Data.ni.dll                          C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\4643894c05199e3216bc912739fb8f42\PaintDotNet.Data.ni.dll, version=4.214.7547.1159
    PaintDotNet.Effects.ni.dll                       C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\906e7358f404c50d4c6fdad9381f0f0b\PaintDotNet.Effects.ni.dll, version=4.214.7547.1159
    PaintDotNet.ni.exe                               C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet\8c7529fc5b4cf71819fcd52e631b1fad\PaintDotNet.ni.exe, version=4.214.7547.1159
    dwrite.dll                                       C:\WINDOWS\SYSTEM32\dwrite.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    wpfgfx_v0400.dll                                 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    MSVCP140_CLR0400.dll                             C:\WINDOWS\SYSTEM32\MSVCP140_CLR0400.dll, version=14.10.25028.0 built by: VCTOOLSD15RTM
    PresentationNative_v0400.dll                     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    windows.storage.dll                              C:\WINDOWS\SYSTEM32\windows.storage.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Wldp.dll                                         C:\WINDOWS\System32\Wldp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    SHCORE.dll                                       C:\WINDOWS\System32\SHCORE.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    vcruntime140.dll                                 C:\Program Files\paint.net\Native\X64\vcruntime140.dll, version=14.27.29016.0 built by: vcwrkspc
    vcruntime140_1.dll                               C:\Program Files\paint.net\Native\X64\vcruntime140_1.dll, version=14.27.29016.0 built by: vcwrkspc
    msvcp140.dll                                     C:\Program Files\paint.net\Native\X64\msvcp140.dll, version=14.27.29016.0 built by: vcwrkspc
    msvcp140_1.dll                                   C:\Program Files\paint.net\Native\X64\msvcp140_1.dll, version=14.27.29016.0 built by: vcwrkspc
    msvcp140_2.dll                                   C:\Program Files\paint.net\Native\X64\msvcp140_2.dll, version=14.27.29016.0 built by: vcwrkspc
    msvcp140_codecvt_ids.dll                         C:\Program Files\paint.net\Native\X64\msvcp140_codecvt_ids.dll, version=14.27.29016.0 built by: vcwrkspc
    vcomp140.dll                                     C:\Program Files\paint.net\Native\X64\vcomp140.dll, version=14.27.29016.0 built by: vcwrkspc
    PaintDotNet.SystemLayer.Native.x64.ni.dll        C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\a8320edbdd8f00f2eae4550e7f7eaed5\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.214.7547.1159
    PaintDotNet.SystemLayer.Native.x64.dll           C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll, version=4.214.7547.1159
    PROPSYS.dll                                      C:\WINDOWS\SYSTEM32\PROPSYS.dll, version=7.0.19041.1 (WinBuild.160101.0800)
    WindowsCodecs.dll                                C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    clbcatq.dll                                      C:\WINDOWS\System32\clbcatq.dll, version=2001.12.10941.16384 (WinBuild.160101.0800)
    System.Configuration.ni.dll                      C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Configuration\60c81b040b0d5a579aa8fd1ff4b6ba34\System.Configuration.ni.dll, version=4.8.4190.0 built by: NET48REL1LAST_B
    System.Xml.ni.dll                                C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\c70d58144af24e7ea3fe080254806186\System.Xml.ni.dll, version=4.8.4084.0 built by: NET48REL1
    profapi.dll                                      C:\WINDOWS\SYSTEM32\profapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Xaml.ni.dll                               C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xaml\71cfb02a507de56dd71d57231fa63382\System.Xaml.ni.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    clrjit.dll                                       C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.8.4200.0 built by: NET48REL1LAST_C
    System.Runtime.CompilerServices.Unsafe.ni.dll    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runtea61dfd5#\e3bbf94b11b43f651e6ee848be7dcdf1\System.Runtime.CompilerServices.Unsafe.ni.dll, version=4.700.20.12001
    dxgi.dll                                         C:\WINDOWS\SYSTEM32\dxgi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    MSCTF.dll                                        C:\WINDOWS\System32\MSCTF.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    UIAnimation.dll                                  C:\WINDOWS\System32\UIAnimation.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    comctl32.dll                                     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec\comctl32.dll, version=6.10 (WinBuild.160101.0800)
    mfplat.dll                                       C:\WINDOWS\SYSTEM32\mfplat.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    cfgmgr32.dll                                     C:\WINDOWS\System32\cfgmgr32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    RTWorkQ.DLL                                      C:\WINDOWS\SYSTEM32\RTWorkQ.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    CompPkgSup.DLL                                   C:\WINDOWS\SYSTEM32\CompPkgSup.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    TextShaping.dll                                  C:\WINDOWS\SYSTEM32\TextShaping.dll, version=
    Windows.StateRepositoryPS.dll                    C:\Windows\System32\Windows.StateRepositoryPS.dll, version=10.0.19041.450 (WinBuild.160101.0800)
    WinTypes.dll                                     C:\Windows\System32\WinTypes.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    d2d1.dll                                         C:\WINDOWS\SYSTEM32\d2d1.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WINSTA.dll                                       C:\WINDOWS\SYSTEM32\WINSTA.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    d3d11.dll                                        C:\WINDOWS\SYSTEM32\d3d11.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    D3D10Warp.dll                                    C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=10.0.19041.84 (WinBuild.160101.0800)
    dxcore.dll                                       C:\WINDOWS\SYSTEM32\dxcore.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    dwmapi.dll                                       C:\WINDOWS\SYSTEM32\dwmapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    dataexchange.dll                                 C:\WINDOWS\system32\dataexchange.dll, version=10.0.19041.264 (WinBuild.160101.0800)
    dcomp.dll                                        C:\WINDOWS\system32\dcomp.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    twinapi.appcore.dll                              C:\WINDOWS\system32\twinapi.appcore.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Accessibility.ni.dll                             C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Accessibility\5a3a8f1d984a6ab99843bfa7e30417ab\Accessibility.ni.dll, version=4.8.4084.0 built by: NET48REL1
    UIAutomationCore.DLL                             C:\WINDOWS\SYSTEM32\UIAutomationCore.DLL, version=7.2.19041.1 (WinBuild.160101.0800)
    OLEACC.dll                                       C:\WINDOWS\SYSTEM32\OLEACC.dll, version=7.2.19041.1 (WinBuild.160101.0800)
    textinputframework.dll                           C:\WINDOWS\SYSTEM32\textinputframework.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    CoreUIComponents.dll                             C:\WINDOWS\System32\CoreUIComponents.dll, version=10.0.19041.1
    CoreMessaging.dll                                C:\WINDOWS\System32\CoreMessaging.dll, version=10.0.19041.423
    WS2_32.dll                                       C:\WINDOWS\System32\WS2_32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    powrprof.dll                                     C:\WINDOWS\SYSTEM32\powrprof.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    UMPDC.dll                                        C:\WINDOWS\SYSTEM32\UMPDC.dll, version=
    System.Buffers.ni.dll                            C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Buffers\9dd01e99de1452bf185be9bc8207a666\System.Buffers.ni.dll, version=4.6.28619.01
    winmm.dll                                        C:\WINDOWS\SYSTEM32\winmm.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Collections.Immutable.ni.dll              C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Coll4a4f96a7#\e8f98e99469305bf73f83fb09669f118\System.Collections.Immutable.ni.dll, version=4.700.20.21406
    System.Memory.ni.dll                             C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Memory\c70d2ce15e37850c2417919e1d2310d0\System.Memory.ni.dll, version=4.6.28619.01
    diasymreader.dll                                 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll, version=14.8.4084.0 built by: NET48REL1
    igd10iumd64.dll                                  C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9d53c3023a3ba6b6\igd10iumd64.dll, version=27.20.100.8587
    ncrypt.dll                                       C:\WINDOWS\SYSTEM32\ncrypt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    NTASN1.dll                                       C:\WINDOWS\SYSTEM32\NTASN1.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    igdgmm64.dll                                     C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9d53c3023a3ba6b6\igdgmm64.dll, version=27.20.100.8587
    igc64.dll                                        C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9d53c3023a3ba6b6\igc64.dll, version=27.20.100.8587
    explorerframe.dll                                C:\WINDOWS\system32\explorerframe.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    winhttp.dll                                      C:\WINDOWS\SYSTEM32\winhttp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    IPHLPAPI.DLL                                     C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    NSI.dll                                          C:\WINDOWS\System32\NSI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    dhcpcsvc6.DLL                                    C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    dhcpcsvc.DLL                                     C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    rasapi32.dll                                     C:\WINDOWS\SYSTEM32\rasapi32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    rasman.dll                                       C:\WINDOWS\SYSTEM32\rasman.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    rtutils.dll                                      C:\WINDOWS\SYSTEM32\rtutils.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    mswsock.dll                                      C:\WINDOWS\system32\mswsock.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DNSAPI.dll                                       C:\WINDOWS\SYSTEM32\DNSAPI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WINNSI.DLL                                       C:\WINDOWS\SYSTEM32\WINNSI.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    rasadhlp.dll                                     C:\Windows\System32\rasadhlp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    fwpuclnt.dll                                     C:\WINDOWS\System32\fwpuclnt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    secur32.dll                                      C:\WINDOWS\SYSTEM32\secur32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    SSPICLI.DLL                                      C:\WINDOWS\SYSTEM32\SSPICLI.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    schannel.DLL                                     C:\WINDOWS\system32\schannel.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    mskeyprotect.dll                                 C:\WINDOWS\SYSTEM32\mskeyprotect.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    ncryptsslp.dll                                   C:\WINDOWS\system32\ncryptsslp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    crypt32.dll                                      C:\WINDOWS\System32\crypt32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    MSASN1.dll                                       C:\WINDOWS\SYSTEM32\MSASN1.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Xml.Linq.ni.dll                           C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml.Linq\c3b48dec162e57dae7b49360c1696533\System.Xml.Linq.ni.dll, version=4.8.4084.0 built by: NET48REL1
    comdlg32.dll                                     C:\WINDOWS\System32\comdlg32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DUI70.dll                                        C:\WINDOWS\System32\DUI70.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DUser.dll                                        C:\WINDOWS\System32\DUser.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    thumbcache.dll                                   C:\Windows\System32\thumbcache.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    policymanager.dll                                C:\WINDOWS\SYSTEM32\policymanager.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    msvcp110_win.dll                                 C:\WINDOWS\System32\msvcp110_win.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Windows.UI.FileExplorer.dll                      C:\Windows\System32\Windows.UI.FileExplorer.dll, version=10.0.19041.329 (WinBuild.160101.0800)
    Windows.FileExplorer.Common.dll                  C:\Windows\System32\Windows.FileExplorer.Common.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    iertutil.dll                                     C:\Windows\System32\iertutil.dll, version=11.00.19041.1 (WinBuild.160101.0800)
    edputil.dll                                      C:\WINDOWS\System32\edputil.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    sxs.dll                                          C:\WINDOWS\SYSTEM32\sxs.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    atlthunk.dll                                     C:\WINDOWS\SYSTEM32\atlthunk.dll, version=10.0.19041.329 (WinBuild.160101.0800)
    StructuredQuery.dll                              C:\WINDOWS\System32\StructuredQuery.dll, version=7.0.19041.388 (WinBuild.160101.0800)
    OneCoreCommonProxyStub.dll                       C:\Windows\System32\OneCoreCommonProxyStub.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Windows.Storage.Search.dll                       C:\WINDOWS\system32\Windows.Storage.Search.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    tiptsf.dll                                       C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    cldapi.dll                                       C:\Windows\System32\cldapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    FLTLIB.DLL                                       C:\Windows\System32\FLTLIB.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    apphelp.dll                                      C:\WINDOWS\SYSTEM32\apphelp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    NetworkExplorer.dll                              C:\WINDOWS\system32\NetworkExplorer.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    MPR.dll                                          C:\WINDOWS\SYSTEM32\MPR.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    p9np.dll                                         C:\WINDOWS\System32\p9np.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    drprov.dll                                       C:\WINDOWS\System32\drprov.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    ntlanman.dll                                     C:\WINDOWS\System32\ntlanman.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    davclnt.dll                                      C:\WINDOWS\System32\davclnt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DAVHLPR.dll                                      C:\WINDOWS\System32\DAVHLPR.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    wkscli.dll                                       C:\WINDOWS\System32\wkscli.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    cscapi.dll                                       C:\WINDOWS\SYSTEM32\cscapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    netutils.dll                                     C:\WINDOWS\System32\netutils.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    srvcli.dll                                       C:\WINDOWS\System32\srvcli.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    coml2.dll                                        C:\WINDOWS\System32\coml2.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    LINKINFO.dll                                     C:\WINDOWS\System32\LINKINFO.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    twinapi.dll                                      C:\Windows\System32\twinapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    ntshrui.dll                                      C:\WINDOWS\SYSTEM32\ntshrui.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    IconCodecService.dll                             C:\WINDOWS\system32\IconCodecService.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    mssprxy.dll                                      C:\WINDOWS\system32\mssprxy.dll, version=7.0.19041.329 (WinBuild.160101.0800)
    OneCoreUAPCommonProxyStub.dll                    C:\Windows\System32\OneCoreUAPCommonProxyStub.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    dlnashext.dll                                    C:\Windows\System32\dlnashext.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    PlayToDevice.dll                                 C:\Windows\System32\PlayToDevice.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DevDispItemProvider.dll                          C:\Windows\System32\DevDispItemProvider.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    MrmCoreR.dll                                     C:\Windows\System32\MrmCoreR.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    windows.staterepositorycore.dll                  C:\WINDOWS\SYSTEM32\windows.staterepositorycore.dll, version=10.0.19041.450 (WinBuild.160101.0800)
    bcp47mrm.dll                                     C:\Windows\System32\bcp47mrm.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Windows.UI.dll                                   C:\Windows\System32\Windows.UI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WindowManagementAPI.dll                          C:\Windows\System32\WindowManagementAPI.dll, version=
    InputHost.dll                                    C:\Windows\System32\InputHost.dll, version=10.0.19041.388 (WinBuild.160101.0800)
    MMDevApi.dll                                     C:\WINDOWS\System32\MMDevApi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    DEVOBJ.dll                                       C:\WINDOWS\System32\DEVOBJ.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    PortableDeviceApi.dll                            C:\Windows\System32\PortableDeviceApi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    SETUPAPI.dll                                     C:\WINDOWS\System32\SETUPAPI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WINTRUST.dll                                     C:\WINDOWS\System32\WINTRUST.dll, version=10.0.19041.423 (WinBuild.160101.0800)
    PortableDeviceTypes.dll                          C:\Windows\System32\PortableDeviceTypes.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    EhStorAPI.dll                                    C:\Windows\System32\EhStorAPI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    FileSyncShell64.dll                              C:\Users\jparrish\AppData\Local\Microsoft\OneDrive\20.154.0802.0003\amd64\FileSyncShell64.dll, version=20.154.0802.0003
    WININET.dll                                      C:\WINDOWS\SYSTEM32\WININET.dll, version=11.00.19041.1 (WinBuild.160101.0800)
    tishell64.dll                                    C:\Program Files (x86)\Acronis\TrueImageHome\tishell64.dll, version=20,0,1,3146
    COMCTL32.dll                                     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.1_none_4b395a7b3c8e63ab\COMCTL32.dll, version=5.82 (WinBuild.160101.0800)
    shfolder.DLL                                     C:\WINDOWS\SYSTEM32\shfolder.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    urlmon.dll                                       C:\WINDOWS\System32\urlmon.dll, version=11.00.19041.1 (WinBuild.160101.0800)
    AvifNative_x64.dll                               C:\Program Files\paint.net\Bundled\AvifFileType\AvifNative_x64.dll, version=1.0.5.0

Support cancellation when saving

I don't think saving supports cancellation -- if you try to save an image at, e.g. Very Slow, and then either 1) change settings, 2) click cancel, or 3) click OK, you have to wait for the initial save operation to complete.

image

Saving takes an amazingly huge amount of memory

If I open this image, PDN is using about 200MG of memory (active working set)

IMG_0918.zip

When I go to save it as an AVIF, the memory usage shoots up to almost 4 GIGABYTES 🤯🤯🤯 I see this just while having the Save Configuration dialog open.

It doesn't look like a leak, I think the memory goes back to the normal level once the Save Config dialog is closed/confirmed.

Allow the Fast, Medium and Slow presets to disable the automatic image grid (tiling)

Firefox's AVIF decoder has a longstanding bug with not supporting AVIF image that use an image grid. An image grid is a sequence of smaller images (tiles) that the decoder combines to reconstruct the full image.

This plugin uses an image grid when saving at the Fast, Medium and Slow presets to keep AOM's encoding time and memory usage at a reasonable level, see #3 for the background on this decision.
The plugin currently uses the following values for the maximum image grid tile size at each preset, if a valid tile size is not found, the image will be will encoded as a single tile.

Encoder Preset Max Tile Size
Fast 512
Medium 1280
Slow 1920
Very Slow N/A

Currently the only workaround for compatibility with Firefox is to save the image using the Very Slow preset. This is probelematic because Very Slow also instructs AOM to use its slowest compression mode.

My proposal to fix this issue would be to add a checkbox to the plugin save UI that disables the automatic tiling for those presets when unchecked (or checked?). I am not sure what to call it, Use Image Grid or Tile Image may be too technical, and Firefox compatibility is specific to a bug in one AVIF implementation.
The checkbox may also need a footnote explaining what it does.

Related to:

https://forums.getpaint.net/topic/124627-some-avifs-cannot-be-opened-in-firefox/
#23
#24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.