Giter Club home page Giter Club logo

psfilterpdn's Introduction

Paint.NET 8bf filter plugin

PSFilterPdn is a Paint.NET effect plugin that enables the use of 3rd party Adobe® Photoshop®-compatible filters.

How to install the plugin

  1. Exit Paint.NET.
  2. Place the PSFilterPdn folder in the Paint.NET Effects folder which is usually located in one the following locations depending on the Paint.NET version you have installed.
Paint.NET Version Effects Folder Location
Classic C:\Program Files\Paint.NET\Effects
Microsoft Store Documents\paint.net App Files\Effects
Portable <Paint.NET folder>\Effects
  1. Restart Paint.NET.
  2. The plug-in will now be available as the 8bf Filter menu item in the Paint.NET Effects menu.

Installing Photoshop-compatible filters

See Installing 8bf filters

License

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

psfilterpdn's People

Contributors

0xc0000054 avatar dependabot[bot] avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

psfilterpdn's Issues

Problems with MaxSpace and reserved fields

Hello,

I found a few incompatibility problems during plugin development:

(1) pb->MaxSpace seems to be hardcoded to 1 GB? I get the value 1073741824 on a 16 GB system with 64bit Paint.net

(2) pb->MaxSpace64 is not implemented. It would be nice if it could be implemented.
The file FilterRecord.cs shows that the fields of version 6.0 are missing (see the latest fields in the Adobe Photoshop SDK)

(3) Very important: The reserved (unimplemented) fields of FilterRecord.cs must be initialized with value 0, otherwise you will receive weird values. For example, MaxSpace64 has the value -8070442948892596903 which crashes my plugin

GC holes in some of the WIC/D2D code

I'm seeing several places like this, but here's one example:

HRESULT hr = factory.Get()->CreateBitmap((uint)width,

    internal sealed unsafe class WICBitmapSurface<TPixel> : ImageSurface where TPixel : unmanaged, IPixelFormatInfo
    {
        private readonly ComPtr<IWICBitmap> bitmap;
        private readonly IWICFactory factory;

        public WICBitmapSurface(int width, int height, IWICFactory factory)
        {
            ArgumentNullException.ThrowIfNull(factory, nameof(factory));
            ThrowIfNotPositive(width, nameof(width));
            ThrowIfNotPositive(height, nameof(height));

            Width = width;
            Height = height;
            ChannelCount = TPixel.ChannelCount;
            BitsPerChannel = TPixel.BitsPerChannel;
            Format = TPixel.Format;
            SupportsTransparency = TPixel.SupportsTransparency;
            this.factory = factory;

            Guid wicPixelFormat = GetWICPixelFormat(Format);

            HRESULT hr = factory.Get()->CreateBitmap((uint)width,
                                                     (uint)height,
                                                     &wicPixelFormat,
                                                     WICBitmapCacheOnLoad,
                                                     bitmap.GetAddressOf()); // <-------------------------------
            WICException.ThrowIfFailed("Failed to create the WIC Bitmap.", hr);
            this.factory = factory;
        }

On the marked line, this is a GC hole. If the GC runs while CreateBitmap() is running, and if the WICBitmapSurface<TPixel> instance happens to get moved, then the native method will write to where this.bitmap was, which could be ... anything. The GC has no information to steer it away from doing this.

ComPtr<T>.GetAddressOf() should really be called DangerousGetAddressOf(). It uses Unsafe.AsPointer(ref this), which is only actually safe if this (the ComPtr<T>) is pinned, or otherwise unmovable (e.g. on the stack, inside a native memory alloc, ...).

You need to either pin bitmap, or just do what I do which is to bounce it through a stack local:

using ComPtr<IWICBitmap> spBitmap = default; // "sp" for "smart pointer". old school naming habit
HRESULT hr = factory.Get()->CreateBitmap(..., spBitmap.GetAddressOf());
WICException.ThrowIfFailed("Failed to create the WIC Bitmap.", hr);

bitmap.Attach(spBitmap.Detach()); // just moves the pointer, cheapest option but more verbose
OR
spBitmap.CopyTo(ref bitmap); // copy pointer and AddRef()
OR
bitmap = spBitmap.Get();  // implicit cast from T* to ComPtr<T>, which will AddRef()

I am getting an error when trying to open 8bf filter from the effects tab.

I get the following error when trying to open 8bf from effects tab. Please help!

Exception:

System.IO.FileNotFoundException: Could not load file or assembly 'MessagePack, Version=2.5.0.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'. The system cannot find the file specified.
File name: 'MessagePack, Version=2.5.0.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'
   at PSFilterLoad.PSApi.DescriptorRegistryFile.Load(String path)
   at PSFilterPdn.PsFilterPdnConfigDialog.LoadDescriptorRegistry()
   at PSFilterPdn.PsFilterPdnConfigDialog.OnShown(EventArgs e)

Diagnostics:

Application                                          paint.net 5.0.13 (Stable 5.13.8830.42291)
Build Date                                           05 March 2024
Install type                                         Classic

Language:                                            en-US
DPI                                                  1 (1.00x scale)
UI/Canvas GPU                                        True
Rendering GPU                                        🚀 Performance (Intel(R) HD Graphics 520)
Remote session                                       False
Animations                                           True
Translucent windows                                  True
Windows Ink                                          True

OS                                                   Windows 10 Home Single Language x64 (10.0.19045.0)
Runtime                                              .NET 7.0.16 x64

Physical Memory                                      12,161 MB (3,484 MB free)
Paging File                                          14,739 MB (4,723 MB free)

CPU                                                  Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
    Speed                                            ~1992 MHz
    Cores / Threads                                  2 / 4
    Features                                         SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2

Monitor                                              1
    Resolution                                       1920 x 1080, 60 Hz
    DPI                                              96 (1.00x scale)
    Coordinates                                      (L=0, T=0, R=1920, B=1080)
    Bit depth                                        8
    Color space                                      RgbFullGamma22NoneP709
    Connected to                                     Intel(R) HD Graphics 520

Video Card                                           Intel(R) HD Graphics 520
    Hardware Acceleration                            Supported
    Dedicated Video RAM                              128 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                6,080 MB
    Driver Version                                   20.19.15.4390
    Vendor ID                                        0x8086
    Device ID                                        0x1916
    Subsystem ID                                     0x10941025
    Revision                                         7
    LUID                                             0x0000B5E4
    Flags                                            SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              TriangleBoundary
    Compute Preemption                               ThreadBoundary
    Outputs                                          1
    Feature Level                                    Level_11_1
    Features                                         Doubles, ComputeShadersEtc
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
    Maximum Bitmap Size                              16384

Video Card                                           Microsoft Basic Render Driver
    Hardware Acceleration                            N/A
    Dedicated Video RAM                              0 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                6,080 MB
    Driver Version                                   10.0.19041.3636
    Vendor ID                                        0x1414
    Device ID                                        0x008C
    Subsystem ID                                     0x00000000
    Revision                                         0
    LUID                                             0x0000B8E9
    Flags                                            Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              InstructionBoundary
    Compute Preemption                               InstructionBoundary
    Outputs                                          0
    Feature Level                                    Level_12_1
    Features                                         Doubles, ComputeShadersEtc
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
    Maximum Bitmap Size                              8388608

Managed assemblies                                   133
    System.Private.CoreLib                           .\System.Private.CoreLib.dll, Version=7.0.0.0, PublicKeyToken=7cec85d7bea7798e
    paintdotnet                                      .\paintdotnet.dll, Version=5.13.8830.42291
    System.Runtime                                   .\System.Runtime.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Fundamentals                         .\PaintDotNet.Fundamentals.dll, Version=5.13.8830.42291
    System.Windows.Forms                             .\System.Windows.Forms.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089
    System.Diagnostics.Tracing                       .\System.Diagnostics.Tracing.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Threading.Thread                          .\System.Threading.Thread.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Base                                 .\PaintDotNet.Base.dll, Version=5.13.8830.42291
    PaintDotNet.Collections                          .\PaintDotNet.Collections.dll, Version=5.13.8830.42291
    PaintDotNet.ComponentModel                       .\PaintDotNet.ComponentModel.dll, Version=5.13.8830.42291
    PaintDotNet.Windows                              .\PaintDotNet.Windows.dll, Version=5.13.8830.42291
    TerraFX.Interop.Windows                          .\TerraFX.Interop.Windows.dll, Version=10.0.22621.2, PublicKeyToken=35b01b53313a6f7e
    PaintDotNet.Primitives                           .\PaintDotNet.Primitives.dll, Version=5.13.8830.42291
    System.Collections.Concurrent                    .\System.Collections.Concurrent.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Runtime                              .\PaintDotNet.Runtime.dll, Version=5.13.8830.42291
    PointerToolkit                                   .\PointerToolkit.dll, Version=1.0.0.0
    System.Threading                                 .\System.Threading.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.SystemLayer                          .\PaintDotNet.SystemLayer.dll, Version=5.13.8830.42291
    PaintDotNet.Systrace                             .\PaintDotNet.Systrace.dll, Version=5.13.8830.42291
    System.Diagnostics.Process                       .\System.Diagnostics.Process.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Private.Uri                               .\System.Private.Uri.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.ComponentModel.Primitives                 .\System.ComponentModel.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    WindowsBase                                      .\WindowsBase.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35
    System.Windows.Forms.Primitives                  .\System.Windows.Forms.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089
    PaintDotNet.ObjectModel                          .\PaintDotNet.ObjectModel.dll, Version=5.13.8830.42291
    System.Collections                               .\System.Collections.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Runtime.InteropServices                   .\System.Runtime.InteropServices.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Drawing.Primitives                        .\System.Drawing.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Diagnostics.TraceSource                   .\System.Diagnostics.TraceSource.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Win32.Primitives                       .\Microsoft.Win32.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Text.Encoding.CodePages                   .\System.Text.Encoding.CodePages.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Core                                 .\PaintDotNet.Core.dll, Version=5.13.8830.42291
    PaintDotNet.Resources                            .\PaintDotNet.Resources.dll, Version=5.13.8830.42291
    System.ObjectModel                               .\System.ObjectModel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Data                                 .\PaintDotNet.Data.dll, Version=5.13.8830.42291
    PaintDotNet.Framework                            .\PaintDotNet.Framework.dll, Version=5.13.8830.42291
    CommunityToolkit.HighPerformance                 .\CommunityToolkit.HighPerformance.dll, Version=8.2.0.0, PublicKeyToken=4aff67a105548ee2
    System.Threading.ThreadPool                      .\System.Threading.ThreadPool.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Configuration.ConfigurationManager        .\System.Configuration.ConfigurationManager.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.Collections.Specialized                   .\System.Collections.Specialized.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.Windows.Framework                    .\PaintDotNet.Windows.Framework.dll, Version=5.13.8830.42291
    System.Xml.ReaderWriter                          .\System.Xml.ReaderWriter.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Private.Xml                               .\System.Private.Xml.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    PaintDotNet.UI                                   .\PaintDotNet.UI.dll, Version=5.13.8830.42291
    System.Net.WebClient                             .\System.Net.WebClient.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.ComponentModel.EventBasedAsync            .\System.ComponentModel.EventBasedAsync.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Memory                                    .\System.Memory.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.Text.Encoding.Extensions                  .\System.Text.Encoding.Extensions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Win32.SystemEvents                     .\Microsoft.Win32.SystemEvents.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.Drawing.Common                            .\System.Drawing.Common.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.Collections.Immutable                     .\System.Collections.Immutable.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Linq                                      .\System.Linq.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Win32.Registry                         .\Microsoft.Win32.Registry.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Diagnostics.FileVersionInfo               .\System.Diagnostics.FileVersionInfo.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    ComputeSharp.D2D1                                .\ComputeSharp.D2D1.dll, Version=2.1.0.0, PublicKeyToken=dc35fa229f6881d8
    System.Security.Principal.Windows                .\System.Security.Principal.Windows.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Security.Claims                           .\System.Security.Claims.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PresentationFramework                            .\PresentationFramework.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35
    System.ComponentModel.TypeConverter              .\System.ComponentModel.TypeConverter.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.ComponentModel                            .\System.ComponentModel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Xaml                                      .\System.Xaml.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089
    PaintDotNet.Windows.Core                         .\PaintDotNet.Windows.Core.dll, Version=5.13.8830.42291
    PresentationCore                                 .\PresentationCore.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35
    DirectWriteForwarder                             .\DirectWriteForwarder.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35
    System.Runtime.Extensions                        .\System.Runtime.Extensions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Diagnostics.Debug                         .\System.Diagnostics.Debug.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Runtime.CompilerServices.VisualC          .\System.Runtime.CompilerServices.VisualC.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Collections.NonGeneric                    .\System.Collections.NonGeneric.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PaintDotNet.PropertySystem                       .\PaintDotNet.PropertySystem.dll, Version=5.13.8830.42291
    PaintDotNet.Effects.Core                         .\PaintDotNet.Effects.Core.dll, Version=5.13.8830.42291
    System.IO.Packaging                              .\System.IO.Packaging.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Accessibility                                    .\Accessibility.dll, Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35
    UIAutomationTypes                                .\UIAutomationTypes.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35
    System.Numerics.Vectors                          .\System.Numerics.Vectors.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Threading.Tasks.Parallel                  .\System.Threading.Tasks.Parallel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Runtime.Loader                            .\System.Runtime.Loader.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    DdsFileTypePlus                                  .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, Version=1.12.8.0
    WebPFileType                                     .\Bundled\WebPFileType\WebPFileType.dll, Version=1.3.21.0
    AvifFileType                                     .\Bundled\AvifFileType\AvifFileType.dll, Version=1.1.30.0
    PaintDotNet.Effects.Gpu                          .\PaintDotNet.Effects.Gpu.dll, Version=5.13.8830.42291
    PaintDotNet.Effects                              .\PaintDotNet.Effects.dll, Version=5.13.8830.42291
    System.Reflection.Metadata                       .\System.Reflection.Metadata.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.IO.MemoryMappedFiles                      .\System.IO.MemoryMappedFiles.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Mono.Cecil                                       .\Mono.Cecil.dll, Version=0.11.5.0, PublicKeyToken=50cebf1cceb9d05e
    netstandard                                      .\netstandard.dll, Version=2.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    System.Reflection.MetadataLoadContext            .\System.Reflection.MetadataLoadContext.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    PaintDotNet.Plugins.Compatibility                .\PaintDotNet.Plugins.Compatibility.dll, Version=5.13.8830.42291
    System.IO.Hashing                                .\System.IO.Hashing.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    PaintDotNet.Effects.Legacy                       .\PaintDotNet.Effects.Legacy.dll, Version=5.13.8830.42291
    Borders N' Shapes                                C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Borders N' Shapes.dll, Version=4.0.4642.26476
    mscorlib                                         .\mscorlib.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
    PSFilterPdn                                      .\Effects\PSFilterPdn.dll, Version=2.0.8.0
    System.Drawing                                   .\System.Drawing.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    Twist                                            C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Twist.dll, Version=4.0.5873.25056
    Color Match                                      C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Color Match.dll, Version=4.2.7630.21216
    System                                           .\System.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
    Gradient Mapping                                 C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Mapping.dll, Version=4.0.6547.33963
    Trail                                            C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Trail.dll, Version=4.0.4642.26791
    Curves+                                          C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Curves+.dll, Version=4.0.6119.31044
    Stitch                                           C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Stitch.dll, Version=4.0.4642.26808
    Film                                             C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Film.dll, Version=4.0.4642.26607
    Splatter                                         C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Splatter.dll, Version=4.0.5873.25083
    Gradient Blocks                                  C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Blocks.dll, Version=4.0.4642.26658
    Gradient Bars                                    C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Bars.dll, Version=4.0.5152.23084
    Grid Warp                                        C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Grid Warp.dll, Version=4.0.6544.34496
    Jitter                                           C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Jitter.dll, Version=4.0.4642.26986
    Gradient Grid                                    C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Grid.dll, Version=4.0.6436.36068
    Smudge                                           C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Smudge.dll, Version=4.0.5873.25097
    Liquify                                          C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Liquify.dll, Version=4.0.5873.25113
    Outline Object                                   C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Outline Object.dll, Version=4.0.4642.26954
    System.Core                                      .\System.Core.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
    System.Runtime.Serialization.Formatters          .\System.Runtime.Serialization.Formatters.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    PointerToolkit.TerraFX.Interop.Windows           .\PointerToolkit.TerraFX.Interop.Windows.dll, Version=10.0.22621.2
    Pixelate+                                        C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Pixelate+.dll, Version=4.0.4642.26940
    Random Effect                                    C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Random Effect.dll, Version=4.0.4642.26928
    Random Shape Fill                                C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Random Shape Fill.dll, Version=4.0.4642.26910
    System.Text.RegularExpressions                   .\System.Text.RegularExpressions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Runtime.Intrinsics                        .\System.Runtime.Intrinsics.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    PhotoSauce.MagicScaler                           .\PhotoSauce.MagicScaler.dll, Version=0.13.2.0, PublicKeyToken=fc6b9b7b06809481
    ComputeSharp.Core                                .\ComputeSharp.Core.dll, Version=2.1.0.0, PublicKeyToken=dc35fa229f6881d8
    System.Private.Xml.Linq                          .\System.Private.Xml.Linq.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
    PresentationFramework-SystemXmlLinq              .\PresentationFramework-SystemXmlLinq.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089
    System.Xml.XDocument                             .\System.Xml.XDocument.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Xml.Linq                                  .\System.Xml.Linq.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
    System.IO.Compression                            .\System.IO.Compression.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089
    System.Runtime.Serialization.Xml                 .\System.Runtime.Serialization.Xml.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Private.DataContractSerialization         .\System.Private.DataContractSerialization.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Xml.XmlSerializer                         .\System.Xml.XmlSerializer.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Runtime.Serialization.Primitives          .\System.Runtime.Serialization.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Reflection.Emit.ILGeneration              .\System.Reflection.Emit.ILGeneration.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Reflection.Emit.Lightweight               .\System.Reflection.Emit.Lightweight.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Reflection.Primitives                     .\System.Reflection.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
    System.Diagnostics.StackTrace                    .\System.Diagnostics.StackTrace.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Native modules                                       228
    paintdotnet.exe                                  .\paintdotnet.exe, version=5.13.8830.42291
    ntdll.dll                                        C:\WINDOWS\SYSTEM32\ntdll.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    KERNEL32.DLL                                     C:\WINDOWS\System32\KERNEL32.DLL, version=10.0.19041.3636 (WinBuild.160101.0800)
    KERNELBASE.dll                                   C:\WINDOWS\System32\KERNELBASE.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    SHELL32.dll                                      C:\WINDOWS\System32\SHELL32.dll, version=10.0.19041.4123 (WinBuild.160101.0800)
    msvcp_win.dll                                    C:\WINDOWS\System32\msvcp_win.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    ucrtbase.dll                                     C:\WINDOWS\System32\ucrtbase.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    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.4123 (WinBuild.160101.0800)
    GDI32.dll                                        C:\WINDOWS\System32\GDI32.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    gdi32full.dll                                    C:\WINDOWS\System32\gdi32full.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    ole32.dll                                        C:\WINDOWS\System32\ole32.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    RPCRT4.dll                                       C:\WINDOWS\System32\RPCRT4.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    combase.dll                                      C:\WINDOWS\System32\combase.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    OLEAUT32.dll                                     C:\WINDOWS\System32\OLEAUT32.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    SHLWAPI.dll                                      C:\WINDOWS\System32\SHLWAPI.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    msvcrt.dll                                       C:\WINDOWS\System32\msvcrt.dll, version=7.0.19041.3636 (WinBuild.160101.0800)
    VCRUNTIME140_1.dll                               .\VCRUNTIME140_1.dll, version=14.38.33135.0
    VCRUNTIME140.dll                                 .\VCRUNTIME140.dll, version=14.38.33135.0
    IMM32.DLL                                        C:\WINDOWS\System32\IMM32.DLL, version=10.0.19041.3996 (WinBuild.160101.0800)
    shcore.dll                                       C:\WINDOWS\System32\shcore.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    hostfxr.dll                                      .\hostfxr.dll, version=7,0,1624,6629 @Commit: 567edafe6106e6b769c64f6a2ed876190baa642a
    ADVAPI32.dll                                     C:\WINDOWS\System32\ADVAPI32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    sechost.dll                                      C:\WINDOWS\System32\sechost.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    bcrypt.dll                                       C:\WINDOWS\System32\bcrypt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    hostpolicy.dll                                   .\hostpolicy.dll, version=7,0,1624,6629 @Commit: 567edafe6106e6b769c64f6a2ed876190baa642a
    coreclr.dll                                      .\coreclr.dll, version=7,0,1624,6629 @Commit: 567edafe6106e6b769c64f6a2ed876190baa642a
    bcryptPrimitives.dll                             C:\WINDOWS\System32\bcryptPrimitives.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.Private.CoreLib.dll                       .\System.Private.CoreLib.dll, version=7.0.1624.6629
    clrjit.dll                                       .\clrjit.dll, version=7,0,1624,6629 @Commit: 567edafe6106e6b769c64f6a2ed876190baa642a
    kernel.appcore.dll                               C:\WINDOWS\SYSTEM32\kernel.appcore.dll, version=10.0.19041.3758 (WinBuild.160101.0800)
    paintdotnet.dll                                  .\paintdotnet.dll, version=5.13.8830.42291
    System.Runtime.dll                               .\System.Runtime.dll, version=7.0.1624.6629
    uxtheme.dll                                      C:\WINDOWS\system32\uxtheme.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    PaintDotNet.Fundamentals.dll                     .\PaintDotNet.Fundamentals.dll, version=5.13.8830.42291
    System.Windows.Forms.dll                         .\System.Windows.Forms.dll, version=7.0.1624.6711
    System.Diagnostics.Tracing.dll                   .\System.Diagnostics.Tracing.dll, version=7.0.1624.6629
    icu.dll                                          C:\WINDOWS\SYSTEM32\icu.dll, version=64, 2, 0, 0 (WinBuild.160101.0800)
    System.Threading.Thread.dll                      .\System.Threading.Thread.dll, version=7.0.1624.6629
    PaintDotNet.Base.dll                             .\PaintDotNet.Base.dll, version=5.13.8830.42291
    PaintDotNet.Collections.dll                      .\PaintDotNet.Collections.dll, version=5.13.8830.42291
    PaintDotNet.ComponentModel.dll                   .\PaintDotNet.ComponentModel.dll, version=5.13.8830.42291
    PaintDotNet.Windows.dll                          .\PaintDotNet.Windows.dll, version=5.13.8830.42291
    TerraFX.Interop.Windows.dll                      .\TerraFX.Interop.Windows.dll, version=10.0.22621.2
    PaintDotNet.Primitives.dll                       .\PaintDotNet.Primitives.dll, version=5.13.8830.42291
    System.Collections.Concurrent.dll                .\System.Collections.Concurrent.dll, version=7.0.1624.6629
    PaintDotNet.Runtime.dll                          .\PaintDotNet.Runtime.dll, version=5.13.8830.42291
    PointerToolkit.dll                               .\PointerToolkit.dll, version=1.0.0.0
    System.Threading.dll                             .\System.Threading.dll, version=7.0.1624.6629
    PaintDotNet.SystemLayer.dll                      .\PaintDotNet.SystemLayer.dll, version=5.13.8830.42291
    PaintDotNet.Systrace.dll                         .\PaintDotNet.Systrace.dll, version=5.13.8830.42291
    System.Diagnostics.Process.dll                   .\System.Diagnostics.Process.dll, version=7.0.1624.6629
    System.Private.Uri.dll                           .\System.Private.Uri.dll, version=7.0.1624.6629
    System.ComponentModel.Primitives.dll             .\System.ComponentModel.Primitives.dll, version=7.0.1624.6629
    System.Windows.Forms.Primitives.dll              .\System.Windows.Forms.Primitives.dll, version=7.0.1624.6711
    WindowsBase.dll                                  .\WindowsBase.dll, version=7.0.1624.6804
    PaintDotNet.ObjectModel.dll                      .\PaintDotNet.ObjectModel.dll, version=5.13.8830.42291
    System.Collections.dll                           .\System.Collections.dll, version=7.0.1624.6629
    System.Runtime.InteropServices.dll               .\System.Runtime.InteropServices.dll, version=7.0.1624.6629
    System.Drawing.Primitives.dll                    .\System.Drawing.Primitives.dll, version=7.0.1624.6629
    System.Diagnostics.TraceSource.dll               .\System.Diagnostics.TraceSource.dll, version=7.0.1624.6629
    Microsoft.Win32.Primitives.dll                   .\Microsoft.Win32.Primitives.dll, version=7.0.1624.6629
    System.Text.Encoding.CodePages.dll               .\System.Text.Encoding.CodePages.dll, version=7.0.1624.6629
    PaintDotNet.Core.dll                             .\PaintDotNet.Core.dll, version=5.13.8830.42291
    PaintDotNet.Resources.dll                        .\PaintDotNet.Resources.dll, version=5.13.8830.42291
    System.ObjectModel.dll                           .\System.ObjectModel.dll, version=7.0.1624.6629
    PaintDotNet.Data.dll                             .\PaintDotNet.Data.dll, version=5.13.8830.42291
    PaintDotNet.Framework.dll                        .\PaintDotNet.Framework.dll, version=5.13.8830.42291
    CommunityToolkit.HighPerformance.dll             .\CommunityToolkit.HighPerformance.dll, version=8.2.1.1
    System.Threading.ThreadPool.dll                  .\System.Threading.ThreadPool.dll, version=7.0.1624.6629
    PresentationNative_cor3.dll                      .\PresentationNative_cor3.dll, version=7,0,23,57101 @Commit: 562bdf3c1209b3703fde123c03fc9a2c86002f03
    System.Configuration.ConfigurationManager.dll    .\System.Configuration.ConfigurationManager.dll, version=7.0.1624.6629
    System.Collections.Specialized.dll               .\System.Collections.Specialized.dll, version=7.0.1624.6629
    PaintDotNet.Windows.Framework.dll                .\PaintDotNet.Windows.Framework.dll, version=5.13.8830.42291
    System.Xml.ReaderWriter.dll                      .\System.Xml.ReaderWriter.dll, version=7.0.1624.6629
    System.Private.Xml.dll                           .\System.Private.Xml.dll, version=7.0.1624.6629
    PaintDotNet.UI.dll                               .\PaintDotNet.UI.dll, version=5.13.8830.42291
    System.Net.WebClient.dll                         .\System.Net.WebClient.dll, version=7.0.1624.6629
    System.ComponentModel.EventBasedAsync.dll        .\System.ComponentModel.EventBasedAsync.dll, version=7.0.1624.6629
    System.Memory.dll                                .\System.Memory.dll, version=7.0.1624.6629
    System.Text.Encoding.Extensions.dll              .\System.Text.Encoding.Extensions.dll, version=7.0.1624.6629
    Microsoft.Win32.SystemEvents.dll                 .\Microsoft.Win32.SystemEvents.dll, version=7.0.1624.6629
    System.Drawing.Common.dll                        .\System.Drawing.Common.dll, version=7.0.1624.6629
    MSCTF.dll                                        C:\WINDOWS\System32\MSCTF.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Collections.Immutable.dll                 .\System.Collections.Immutable.dll, version=7.0.1624.6629
    System.Linq.dll                                  .\System.Linq.dll, version=7.0.1624.6629
    Microsoft.Win32.Registry.dll                     .\Microsoft.Win32.Registry.dll, version=7.0.1624.6629
    dxgi.DLL                                         C:\WINDOWS\SYSTEM32\dxgi.DLL, version=10.0.19041.3636 (WinBuild.160101.0800)
    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)
    profapi.dll                                      C:\WINDOWS\SYSTEM32\profapi.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.Diagnostics.FileVersionInfo.dll           .\System.Diagnostics.FileVersionInfo.dll, version=7.0.1624.6629
    version.dll                                      C:\WINDOWS\SYSTEM32\version.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    ComputeSharp.D2D1.dll                            .\ComputeSharp.D2D1.dll, version=2.1.0.0
    System.Security.Principal.Windows.dll            .\System.Security.Principal.Windows.dll, version=7.0.1624.6629
    System.Security.Claims.dll                       .\System.Security.Claims.dll, version=7.0.1624.6629
    d3d11.DLL                                        C:\WINDOWS\SYSTEM32\d3d11.DLL, version=10.0.19041.3636 (WinBuild.160101.0800)
    igd10iumd64.dll                                  C:\WINDOWS\SYSTEM32\igd10iumd64.dll, version=20.19.15.4390
    ncrypt.dll                                       C:\WINDOWS\SYSTEM32\ncrypt.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    apphelp.dll                                      C:\WINDOWS\SYSTEM32\apphelp.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    NTASN1.dll                                       C:\WINDOWS\SYSTEM32\NTASN1.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    igc64.dll                                        C:\WINDOWS\SYSTEM32\igc64.dll, version=20.19.15.4390
    PresentationFramework.dll                        .\PresentationFramework.dll, version=7.0.1624.6804
    dxcore.dll                                       C:\WINDOWS\SYSTEM32\dxcore.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    cfgmgr32.dll                                     C:\WINDOWS\System32\cfgmgr32.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    System.ComponentModel.TypeConverter.dll          .\System.ComponentModel.TypeConverter.dll, version=7.0.1624.6629
    System.ComponentModel.dll                        .\System.ComponentModel.dll, version=7.0.1624.6629
    System.Xaml.dll                                  .\System.Xaml.dll, version=7.0.1624.6804
    PaintDotNet.Windows.Core.dll                     .\PaintDotNet.Windows.Core.dll, version=5.13.8830.42291
    PresentationCore.dll                             .\PresentationCore.dll, version=7.0.1624.6804
    d2d1.DLL                                         C:\WINDOWS\SYSTEM32\d2d1.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    DirectWriteForwarder.dll                         .\DirectWriteForwarder.dll, version=7,0,1624,6804 @Commit: 4a6accdbfd70e66399781c75b0c0a179f4b7e7eb
    System.Runtime.Extensions.dll                    .\System.Runtime.Extensions.dll, version=7.0.1624.6629
    clbcatq.dll                                      C:\WINDOWS\System32\clbcatq.dll, version=2001.12.10941.16384 (WinBuild.160101.0800)
    System.Diagnostics.Debug.dll                     .\System.Diagnostics.Debug.dll, version=7.0.1624.6629
    UIAnimation.dll                                  C:\WINDOWS\System32\UIAnimation.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.Runtime.CompilerServices.VisualC.dll      .\System.Runtime.CompilerServices.VisualC.dll, version=7.0.1624.6629
    dwrite.dll                                       C:\WINDOWS\SYSTEM32\dwrite.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Collections.NonGeneric.dll                .\System.Collections.NonGeneric.dll, version=7.0.1624.6629
    PaintDotNet.PropertySystem.dll                   .\PaintDotNet.PropertySystem.dll, version=5.13.8830.42291
    PaintDotNet.Effects.Core.dll                     .\PaintDotNet.Effects.Core.dll, version=5.13.8830.42291
    gdiplus.dll                                      C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.3996_none_91a79472cc852ba0\gdiplus.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    WindowsCodecs.dll                                C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    XmlLite.dll                                      C:\WINDOWS\SYSTEM32\XmlLite.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.IO.Packaging.dll                          .\System.IO.Packaging.dll, version=7.0.1624.6629
    comctl32.dll                                     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.3636_none_60b6a03d71f818d5\comctl32.dll, version=6.10 (WinBuild.160101.0800)
    Accessibility.dll                                .\Accessibility.dll, version=7.0.1624.6711
    UIAutomationTypes.dll                            .\UIAutomationTypes.dll, version=7.0.1624.6804
    System.Numerics.Vectors.dll                      .\System.Numerics.Vectors.dll, version=7.0.1624.6629
    System.Threading.Tasks.Parallel.dll              .\System.Threading.Tasks.Parallel.dll, version=7.0.1624.6629
    mfplat.dll                                       C:\WINDOWS\SYSTEM32\mfplat.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.3636 (WinBuild.160101.0800)
    Windows.StateRepositoryPS.dll                    C:\Windows\System32\Windows.StateRepositoryPS.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    TextShaping.dll                                  C:\WINDOWS\SYSTEM32\TextShaping.dll, version=
    System.Runtime.Loader.dll                        .\System.Runtime.Loader.dll, version=7.0.1624.6629
    DdsFileTypePlus.dll                              .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, version=1.12.8.0
    WebPFileType.dll                                 .\Bundled\WebPFileType\WebPFileType.dll, version=1.3.21.0
    AvifFileType.dll                                 .\Bundled\AvifFileType\AvifFileType.dll, version=1.1.30.0
    WinTypes.dll                                     C:\Windows\System32\WinTypes.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    PaintDotNet.Effects.Gpu.dll                      .\PaintDotNet.Effects.Gpu.dll, version=5.13.8830.42291
    PaintDotNet.Effects.dll                          .\PaintDotNet.Effects.dll, version=5.13.8830.42291
    System.Reflection.Metadata.dll                   .\System.Reflection.Metadata.dll, version=7.0.1624.6629
    System.IO.MemoryMappedFiles.dll                  .\System.IO.MemoryMappedFiles.dll, version=7.0.1624.6629
    Mono.Cecil.dll                                   .\Mono.Cecil.dll, version=0.11.5.0
    netstandard.dll                                  .\netstandard.dll, version=7.0.1624.6629
    System.Reflection.MetadataLoadContext.dll        .\System.Reflection.MetadataLoadContext.dll, version=7.0.22.51805
    PaintDotNet.Plugins.Compatibility.dll            .\PaintDotNet.Plugins.Compatibility.dll, version=5.13.8830.42291
    System.IO.Hashing.dll                            .\System.IO.Hashing.dll, version=7.0.22.51805
    PaintDotNet.Effects.Legacy.dll                   .\PaintDotNet.Effects.Legacy.dll, version=5.13.8830.42291
    wtsapi32.dll                                     C:\WINDOWS\SYSTEM32\wtsapi32.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    WINSTA.dll                                       C:\WINDOWS\SYSTEM32\WINSTA.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    amsi.dll                                         C:\WINDOWS\SYSTEM32\amsi.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    USERENV.dll                                      C:\WINDOWS\SYSTEM32\USERENV.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    Borders N' Shapes.dll                            C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Borders N' Shapes.dll, version=4.0.4642.26476
    mscorlib.dll                                     .\mscorlib.dll, version=7.0.1624.6629
    MpOav.dll                                        C:\ProgramData\Microsoft\Windows Defender\platform\4.18.24020.7-0\MpOav.dll, version=4.18.24020.7 (f5b7a53876c03330b0e7c1a6020590269cbbc2b6)
    PSFilterPdn.dll                                  .\Effects\PSFilterPdn.dll, version=2.0.8.0
    MPCLIENT.DLL                                     C:\ProgramData\Microsoft\Windows Defender\platform\4.18.24020.7-0\MPCLIENT.DLL, version=4.18.24020.7 (f5b7a53876c03330b0e7c1a6020590269cbbc2b6)
    CRYPT32.dll                                      C:\WINDOWS\System32\CRYPT32.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    WINTRUST.dll                                     C:\WINDOWS\System32\WINTRUST.dll, version=10.0.19041.3996 (WinBuild.160101.0800)
    MSASN1.dll                                       C:\WINDOWS\System32\MSASN1.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.Drawing.dll                               .\System.Drawing.dll, version=7.0.1624.6711
    gpapi.dll                                        C:\WINDOWS\SYSTEM32\gpapi.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    D3D10Warp.dll                                    C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    Twist.dll                                        C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Twist.dll, version=4.0.5873.25056
    Color Match.dll                                  C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Color Match.dll, version=4.2.7630.21216
    System.dll                                       .\System.dll, version=7.0.1624.6629
    Trail.dll                                        C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Trail.dll, version=4.0.4642.26791
    Curves+.dll                                      C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Curves+.dll, version=4.0.6119.31044
    Stitch.dll                                       C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Stitch.dll, version=4.0.4642.26808
    Film.dll                                         C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Film.dll, version=4.0.4642.26607
    Splatter.dll                                     C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Splatter.dll, version=4.0.5873.25083
    Gradient Blocks.dll                              C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Blocks.dll, version=4.0.4642.26658
    Gradient Bars.dll                                C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Bars.dll, version=4.0.5152.23084
    Grid Warp.dll                                    C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Grid Warp.dll, version=4.0.6544.34496
    Jitter.dll                                       C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Jitter.dll, version=4.0.4642.26986
    Gradient Grid.dll                                C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Gradient Grid.dll, version=4.0.6436.36068
    Smudge.dll                                       C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Smudge.dll, version=4.0.5873.25097
    Liquify.dll                                      C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Liquify.dll, version=4.0.5873.25113
    Outline Object.dll                               C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Outline Object.dll, version=4.0.4642.26954
    System.Core.dll                                  .\System.Core.dll, version=7.0.1624.6629
    System.Runtime.Serialization.Formatters.dll      .\System.Runtime.Serialization.Formatters.dll, version=7.0.1624.6629
    Pixelate+.dll                                    C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Pixelate+.dll, version=4.0.4642.26940
    Random Effect.dll                                C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Random Effect.dll, version=4.0.4642.26928
    Random Shape Fill.dll                            C:\Users\User\Documents\paint.net App Files\Effects\Pyrokid\Random Shape Fill.dll, version=4.0.4642.26910
    UIAutomationCore.dll                             C:\WINDOWS\SYSTEM32\UIAutomationCore.dll, version=7.2.19041.1 (WinBuild.160101.0800)
    PROPSYS.dll                                      C:\WINDOWS\SYSTEM32\PROPSYS.dll, version=7.0.19041.3636 (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.3636 (WinBuild.160101.0800)
    dcomp.dll                                        C:\WINDOWS\system32\dcomp.dll, version=10.0.19041.4046 (WinBuild.160101.0800)
    twinapi.appcore.dll                              C:\WINDOWS\system32\twinapi.appcore.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    textinputframework.dll                           C:\WINDOWS\SYSTEM32\textinputframework.dll, version=10.0.19041.4123 (WinBuild.160101.0800)
    CoreMessaging.dll                                C:\WINDOWS\System32\CoreMessaging.dll, version=10.0.19041.3930
    CoreUIComponents.dll                             C:\WINDOWS\System32\CoreUIComponents.dll, version=10.0.19041.3636
    WS2_32.dll                                       C:\WINDOWS\System32\WS2_32.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    ntmarta.dll                                      C:\WINDOWS\SYSTEM32\ntmarta.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.Text.RegularExpressions.dll               .\System.Text.RegularExpressions.dll, version=7.0.1624.6629
    winmm.DLL                                        C:\WINDOWS\SYSTEM32\winmm.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    PaintDotNet.SystemLayer.Native.x64.dll           .\PaintDotNet.SystemLayer.Native.x64.dll, version=5.13.8830.42291
    System.Runtime.Intrinsics.dll                    .\System.Runtime.Intrinsics.dll, version=7.0.1624.6629
    PhotoSauce.MagicScaler.dll                       .\PhotoSauce.MagicScaler.dll, version=0.13.2.0
    explorerframe.dll                                C:\WINDOWS\system32\explorerframe.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    ComputeSharp.Core.dll                            .\ComputeSharp.Core.dll, version=2.1.0.0
    d3dcompiler_47.DLL                               C:\WINDOWS\SYSTEM32\d3dcompiler_47.DLL, version=10.0.19041.3636 (WinBuild.160101.0800)
    CRYPTSP.dll                                      C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    Cabinet.dll                                      C:\WINDOWS\SYSTEM32\Cabinet.dll, version=5.00 (WinBuild.160101.0800)
    PointerToolkit.TerraFX.Interop.Windows.dll       .\PointerToolkit.TerraFX.Interop.Windows.dll, version=10.0.22621.2
    sxs.dll                                          C:\WINDOWS\SYSTEM32\sxs.dll, version=10.0.19041.1 (WinBuild.160101.0800)
    System.Private.Xml.Linq.dll                      .\System.Private.Xml.Linq.dll, version=7.0.1624.6629
    PresentationFramework-SystemXmlLinq.dll          .\PresentationFramework-SystemXmlLinq.dll, version=7.0.1624.6804
    System.Xml.XDocument.dll                         .\System.Xml.XDocument.dll, version=7.0.1624.6629
    System.Xml.Linq.dll                              .\System.Xml.Linq.dll, version=7.0.1624.6629
    policymanager.dll                                C:\WINDOWS\SYSTEM32\policymanager.dll, version=10.0.19041.4123 (WinBuild.160101.0800)
    msvcp110_win.dll                                 C:\WINDOWS\SYSTEM32\msvcp110_win.dll, version=10.0.19041.3636 (WinBuild.160101.0800)
    System.IO.Compression.dll                        .\System.IO.Compression.dll, version=7.0.1624.6629
    System.Runtime.Serialization.Xml.dll             .\System.Runtime.Serialization.Xml.dll, version=7.0.1624.6629
    System.Private.DataContractSerialization.dll     .\System.Private.DataContractSerialization.dll, version=7.0.1624.6629
    System.Xml.XmlSerializer.dll                     .\System.Xml.XmlSerializer.dll, version=7.0.1624.6629
    System.Runtime.Serialization.Primitives.dll      .\System.Runtime.Serialization.Primitives.dll, version=7.0.1624.6629
    System.Reflection.Emit.ILGeneration.dll          .\System.Reflection.Emit.ILGeneration.dll, version=7.0.1624.6629
    System.Reflection.Emit.Lightweight.dll           .\System.Reflection.Emit.Lightweight.dll, version=7.0.1624.6629
    System.Reflection.Primitives.dll                 .\System.Reflection.Primitives.dll, version=7.0.1624.6629
    System.Diagnostics.StackTrace.dll                .\System.Diagnostics.StackTrace.dll, version=7.0.1624.6629
    setupapi.DLL                                     C:\WINDOWS\System32\setupapi.DLL, version=10.0.19041.1 (WinBuild.160101.0800)
    DEVOBJ.dll                                       C:\WINDOWS\SYSTEM32\DEVOBJ.dll, version=10.0.19041.3996 (WinBuild.160101.0800)

Crash when calling RegionPtr<T>.Slice()

This was sent to me, I checked and they do have the latest version of the plugin installed (2.0.8.0):

This text file was created because [paint.net](http://paint.net/) crashed. Please e-mail this to [[email protected]](mailto:[email protected]) so we can diagnose and fix the problem.

Application version: [paint.net](http://paint.net/) 5.0.13 (Stable 5.13.8830.42291)
Time of crash: 11/05/2024 22:44:14
Application uptime: 00:00:17.9771986
Application state: Running
Working set: 383,920 KiB
Handles and threads: 1561 handles, 97 threads, 1003 gdi, 329 user
Install type: Classic
Application directory: C:\Program Files\[paint.net](http://paint.net/)
Current directory: C:\Program Files\[paint.net](http://paint.net/)
Install directory: C:\Program Files\[paint.net](http://paint.net/)
OS Version: Windows 10 Home 10.0.19045.0 x64
.NET version: .NET 7.0.16 x64
Processor: "Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz" @ ~3600MHz (4C/8T, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2)
Memory: 16,335 MB physical (10,355 MB free), 133,947,977 MB virtual free, 18,767 MB pagefile (10,603 MB free)
Video card: NVIDIA GeForce GTX 1660 (fl:12.1, v:10DE, d:2184, r:A1), Microsoft Basic Render Driver (fl:12.1, v:1414, d:8C, r:0)
Hardware acceleration: True (default: True) (rendering: 🚀 Performance (NVIDIA GeForce GTX 1660))
Remote session: no
Pointers: none
UI animations: True
UI DPI: 96 dpi (1.00x scale)
UI theme: VisualStyleCategory=Aero, EffectiveTheme=Aero, DWM=yes, AeroColorScheme=Light, ThemeFileName=Aero.msstyles
Updates: True, 11/05/2024
Locale: pdnr.c: en-GB, hklm: en-GB, hkcu: en-GB, cc: en-GB, cuic: en-GB
Flags:

Exception details:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'bounds (768,0,27,256) is not valid (0,0,794,644)')
   at PaintDotNet.RegionPtr`1.SliceError(RectInt32 bounds) in D:\src\pdn\src_5_0_x\Primitives\RegionPtr`1.cs:line 470
   at PaintDotNet.Imaging.BitmapBase`1.LockImpl(RectInt32 rect, BitmapLockOptions lockOptions) in D:\src\pdn\src_5_0_x\Windows.Core\Imaging\BitmapBase`1.cs:line 123
   at PaintDotNet.Imaging.BitmapBase`1.Lock(RectInt32 rect, BitmapLockOptions lockOptions) in D:\src\pdn\src_5_0_x\Windows.Core\Imaging\BitmapBase`1.cs:line 92
   at PSFilterLoad.PSApi.Imaging.Internal.WICBitmapSurface`1.Lock(Rectangle bounds, SurfaceLockMode mode) in D:\Dev_projects\PSFilterPdn\src\PSApi\Imaging\Internal\WICBitmapSurface.cs:line 134
   at PSFilterLoad.PSApi.LoadPsFilter.FillInputBuffer(FilterRecord* filterRecord) in D:\Dev_projects\PSFilterPdn\src\PSApi\LoadPsFilter.cs:line 1788
   at PSFilterLoad.PSApi.LoadPsFilter.AdvanceStateProc() in D:\Dev_projects\PSFilterPdn\src\PSApi\LoadPsFilter.cs:line 1355

DPI issue for opening plugins when multiple monitors with different DPI

Hello,

I didn't have this issue with old version of PSFilterPdn (i don't remember which version as I have already overwritten my previous version)

Main monitor (laptop, 15inch): 4K resolution
Second monitor (24 inch): FullHD resolution
I wish to have 2 monitors with the same resolution/DPI but i cannot find 24inch 4K screen easily

I normally use Paint.net (5.0.13) on my second monitor as it's bigger (24inch) but when I open the plugin, the plugin window by default opens on the main monitor and become very small since the new version of PSFilter, so I move it to the second monitor and the window size is OK.
However, I didn't have this issue with previous version, and I can move smoothly the plugin window between main monitor and second monitor without dpi issue.
I have also noticed that the tab menus are very small whatever the monitor I put the PSFilterPdn main window
image

As a workaround I enable High DPI scaling override but it doesn't totally fix the issue as the plugin window only looks OK on main monitor but becomes very big on the second monitor.
image

Thanks

Crash during re-applying of filter

Reproduction:

  1. Open Paint.net
  2. Click Effects -> 8BF filters
  3. Select a filter and press "OK". Do NOT click "Run filter"
  4. Press Ctrl+F to re-apply the filter
  5. You will receive a NullPointerException because there is no filter to re-apply, because the filter was never invoked

Exception details:

System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: key
   bei System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   bei System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   bei System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   bei PSFilterPdn.PSFilterPdnEffect.RunRepeatFilter(PSFilterPdnConfigToken& token, IWin32Window window)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

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.