_koh_ Posted Saturday at 09:50 AM Share Posted Saturday at 09:50 AM System.Runtime.InteropServices.COMException (0x8007058A): SetClipboardData(CF_DIBV5) returned NULL (1418, ERROR_CLIPBOARD_NOT_OPEN) I made a simple effect which just copy / paste raw bitmap data to / form the clipboard, and it occasionally gives me this error. Any workaround better than try / catch it and silently fail? protected override void OnInitializeRenderInfo(IGpuImageEffectRenderInfo renderInfo) { renderInfo.ColorContext = GpuEffectColorContext.WorkingSpace; renderInfo.InputAlphaMode = renderInfo.OutputAlphaMode = GpuEffectAlphaMode.Straight; base.OnInitializeRenderInfo(renderInfo); } protected override IDeviceImage OnCreateOutput(PaintDotNet.Direct2D1.IDeviceContext DC) { var clip = Services.GetService<IClipboardService>(); var rect = Environment.Selection.RenderBounds; var image = (IBitmapSource)Environment.GetSourceBitmapBgra32(); var copy = () => {try {clip.SetImage(image.CreateClipper(rect));} catch {} return image;}; var paste = () => {return clip.TryGetBitmap()?.CreateClipper(new(-rect.Location, Environment.Document.Size), BitmapExtendMode.Zero) ?? image;}; return DC.CreateImageFromBitmap(Control.ModifierKeys != Keys.Shift ? copy() : paste(), (BitmapImageOptions)7); } Quote Link to comment Share on other sites More sharing options...
_koh_ Posted Saturday at 02:30 PM Author Share Posted Saturday at 02:30 PM PDN 5.1 always treats clipboard data as sRGB and converts the color space, but sometimes I want to import / export non sRGB bitmap thru clipboard. I've already asked for this feature but don't know I will get it, so made an effect just in case. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted Saturday at 04:17 PM Share Posted Saturday at 04:17 PM PDN doesn't always treat the clipboard as sRGB. It depends on what format the clipboard data is in. If it's PNG then it can contain a color profile and PDN will respect that. However, PDN will always convert the clipboard image to the color space of the image that it is being pasted into. This refers to the commands in the Edit menu. For DIB formats, they are always treated as sRGB. I have some experimental code that can parse the DIB color profile, but no other software populates that so it's pointless. For IClipboardService, it's honestly not fully fleshed out. You will get the clipboard data without the profile, but the image is not converted to sRGB (maybe it should be). When setting the clipboard data, you are not given the opportunity to provide a color profile. So it will end up as de facto sRGB. As for the ERROR_CLIPBOARD_NOT_OPEN, that's probably just the Windows clipboard being what it is and occasionally giving errors. However, I need the full exception to be able to investigate any further, I can't just work with the error message. I don't know where this is happening without the exception. Please make sure to always provide me with the full exception, not just the error message. 6 hours ago, _koh_ said: (BitmapImageOptions)7 7??? Please used the named enum values. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
_koh_ Posted Saturday at 05:20 PM Author Share Posted Saturday at 05:20 PM Sorry, this is full stack trace. Spoiler File: C:\App\paint.net\Effects\RawClipboard.dll Name: RawClipboardEffect.RawClipboardEffect Version: 1.0.9052.2991 Author: Copyright ©2024 by Koh Copyright: Copy / Paste raw bitmap data Website: https://www.getpaint.net/redirect/plugins.html Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Runtime.InteropServices.COMException (0x8007058A): SetClipboardData(CF_DIBV5) returned NULL (1418, ERROR_CLIPBOARD_NOT_OPEN) at PaintDotNet.Interop.WindowsUtil.ThrowWin32Error(String message, Int32 lastWin32Error) in D:\src\pdn\src\Windows\Interop\WindowsUtil.cs:line 98 at PaintDotNet.SystemLayer.Clipboard.ClipboardTransaction.AddNativeData(UInt32 formatID, IntPtr dataLength, ClipboardDataCallback writeDataCallback) in D:\src\pdn\src\SystemLayer\Clipboard\ClipboardTransaction.cs:line 317 at PaintDotNet.Clipboard.MarshaledClipboardTransaction.<>c__DisplayClass14_0.<Invoke>b__0() in D:\src\pdn\src\PaintDotNet\Clipboard\MarshaledClipboardTransaction.cs:line 124 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() at System.Windows.Threading.DispatcherOperation.InvokeImpl() --- End of stack trace from previous location --- at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at PaintDotNet.Clipboard.MarshaledClipboardTransaction.Invoke(Action action) in D:\src\pdn\src\PaintDotNet\Clipboard\MarshaledClipboardTransaction.cs:line 120 at PaintDotNet.Clipboard.ClipboardTransactionExtensions.AddNativeData(IClipboardTransaction transaction, UInt32 formatID, Action`1 copyToStreamFn) in D:\src\pdn\src\Core\Clipboard\ClipboardTransactionExtensions.cs:line 56 at PaintDotNet.Clipboard.ClipboardExtensions.SetImage(IClipboard clipboard, IBitmapSource bitmap) in D:\src\pdn\src\Core\Clipboard\ClipboardExtensions.cs:line 347 at RawClipboardEffect.RawClipboardEffect.<>c__DisplayClass9_0.<OnCreateOutput>b__0() at RawClipboardEffect.RawClipboardEffect.OnCreateOutput(IDeviceContext DC) at PaintDotNet.Effects.Gpu.GpuImageEffect.CreateOutput(IDeviceContext deviceContext) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuImageEffect.cs:line 213 at PaintDotNet.Effects.Gpu.GpuImageEffect.OnBeforeDraw(IDeviceContext2 deviceContext, RectInt32 renderRect) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuImageEffect.cs:line 180 at PaintDotNet.Effects.Gpu.GpuEffect.Renderer.OnBeforeDraw(IDeviceContext deviceContext, RectInt32 renderRect) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuEffect.cs:line 1194 at PaintDotNet.Direct2D1.BufferedDeviceContext.RenderImpl[TPixel,TDrawer,TDrawerDraw](RegionPtr`1 dst, Point2Int32 renderOffset, TDrawer drawer, TDrawerDraw drawerDraw, Boolean trackDrawer, ICancellationToken cancelToken) in D:\src\pdn\src\Framework\Direct2D1\BufferedDeviceContext.cs:line 331 at PaintDotNet.Direct2D1.BufferedDeviceContext.Render[TPixel,TDrawer,TDrawerDraw](RegionPtr`1 dst, Point2Int32 renderOffset, TDrawer drawer, TDrawerDraw drawerDraw, Boolean trackDrawer, ICancellationToken cancelToken) in D:\src\pdn\src\Framework\Direct2D1\BufferedDeviceContext.cs:line 259 at PaintDotNet.Effects.Gpu.GpuEffect.Renderer.OnCopyPixels(RegionPtr`1 dst, Point2Int32 srcOffset) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuEffect.cs:line 1141 at PaintDotNet.Imaging.BitmapSourceBase`1.OnCopyPixels(Void* buffer, Int32 bufferStride, UInt32 bufferSize, RectInt32 srcRect) in D:\src\pdn\src\Windows.Core\Imaging\BitmapSourceBase`1.cs:line 46 at PaintDotNet.Imaging.BitmapSourceBase.CopyPixels(Void* buffer, Int32 bufferStride, UInt32 bufferSize, Nullable`1& srcRect) in D:\src\pdn\src\Windows.Core\Imaging\BitmapSourceBase.cs:line 146 at PaintDotNet.Imaging.BitmapSourceExtensions.CopyPixels64(IBitmapSource source, Void* pBuffer, Int32 bufferStride, Nullable`1& sourceRect, Nullable`1 bpp) in D:\src\pdn\src\Windows.Core\Imaging\BitmapSourceExtensions.cs:line 250 at PaintDotNet.Effects.Gpu.GpuEffect.Render(IBitmapEffectOutput output) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuEffect.cs:line 715 at PaintDotNet.Effects.Gpu.GpuEffect.PaintDotNet.Effects.ISupportBitmapEffectRenderer.Render(Void* pBuffer, Int32 bufferStride, IntPtr bufferSize, PixelFormat& bufferPixelFormat, RectInt32 renderRect) in D:\src\pdn\src\Effects.Core\Effects\Gpu\GpuEffect.cs:line 707 at PaintDotNet.Effects.Proxies.ISupportBitmapEffectRendererProxy.PaintDotNet.Effects.ISupportBitmapEffectRenderer.Render(Void* pBuffer, Int32 bufferStride, IntPtr bufferSize, PixelFormat& bufferPixelFormat, RectInt32 renderRect) at PaintDotNet.Effects.BitmapEffectRendererExtensions.Render[TPixel](IBitmapEffectRenderer renderer, RegionPtr`1 buffer, Point2Int32 renderOffset) in D:\src\pdn\src\Effects.Core\Effects\BitmapEffectRendererExtensions.cs:line 26 at PaintDotNet.Effects.BitmapEffectDriver.OnRendererRender(IBitmapEffectRenderer renderer, ILockedBitmap`1 dstBitmap, ReadOnlySpan`1 renderRects) in D:\src\pdn\src\PaintDotNet\Effects\BitmapEffectDriver.cs:line 79 at PaintDotNet.Effects.EffectDriver`1.RenderWithClipMask(PooledNativeList`1 rois, Result`1 lazyClipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 287 at PaintDotNet.Effects.EffectDriver`1.RendererContext.RenderTile(Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 260 at PaintDotNet.Effects.EffectDriver`1.RendererContext.RenderNextTile() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 253 at PaintDotNet.Effects.EffectDriver`1.<>c__DisplayClass53_0.<ThreadFunction>b__0() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 384 --- End of inner exception stack trace --- at PaintDotNet.Effects.EffectDriver`1.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 560 at PaintDotNet.Menus.EffectMenuBase.DoEffect(IEffect effect, EffectConfigToken token, Result`1 lazyAllRenderScans, Result`1 lazyRemainingRenderScans, Surface originalSurface, Exception& exception) in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 1657 Diagnostics: Application paint.net V5.1 (β 5.100.9038.5741) Build Date 2024年9月29日 Expiration Date 2024年12月22日 Install type Classic Application directory C:\App\paint.net Current directory C:\App\paint.net Install directory C:\App\paint.net Current Date and Time 2024/10/13 1:40:16 Process uptime 00:00:21.9500000 Runtime state Running Updates Enabled (prelease) Last Checked 2024/10/12 OS Windows 11 Pro x64 (10.0.26100.0) Runtime .NET 9.0.0-rc.1.24431.7 x64 Physical Memory 32,479 MB (15,997 MB free) Paging File 34,527 MB (14,209 MB free) Working Set 1,276,232 KiB Handles 1900 Threads 111 GDI objects 141 User objects 224 Language en-US Scaling 2.00x (192 DPI) UI/Canvas GPU True Rendering GPU 🚀 Performance (NVIDIA GeForce RTX 3060 Laptop GPU) Advanced Color True Remote Session False Battery Saver False Animations True Translucent Windows True Windows Ink True Theme Aero (Aero.msstyles), Dark CPU 12th Gen Intel(R) Core(TM) i9-12900H Speed ~2918 MHz Cores / Threads 14 / 20 Features SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2 Pointer HIDI2C Device Type Touch Contacts 10 Cursors Tip (2) Tip (3) Tip (4) Tip (5) Tip (6) Tip (7) Tip (8) Tip (9) Tip (10) Tip (11) Display Generic PnP Monitor Connected to Intel(R) Iris(R) Xe Graphics Resolution 3840 x 2400, 10-bit, 60 Hz DPI 192 (2.00x scale) Coordinates (L=0, T=0, R=3840, B=2400) Advanced Color HighDynamicRange SDR white level 80 nits Color space RgbFullGamma2084NoneP2020 Color Profile Capabilities MicrosoftHardwareColorV2, VideoCardGammaTable Composition Support Fullscreen, Windowed Video Card Intel(R) Iris(R) Xe Graphics Hardware Acceleration Supported Performance Class Good Dedicated Video RAM 128 MB Dedicated System RAM 0 MB Shared System RAM 16,239 MB Driver Version 32.0.101.6083 Vendor ID 0x8086 Device ID 0x46A6 Subsystem ID 0x8A2C103C Revision 12 LUID 0x00018479 Flags AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption TriangleBoundary Compute Preemption ThreadGroupBoundary Outputs 1 Feature Level Level_12_1 Features ComputeShadersEtc Maximum Bitmap Size 16384 Video Card NVIDIA GeForce RTX 3060 Laptop GPU Hardware Acceleration Supported Performance Class Good Dedicated Video RAM 5,996 MB Dedicated System RAM 0 MB Shared System RAM 16,239 MB Driver Version 32.0.15.6590 Vendor ID 0x10DE Device ID 0x2520 Subsystem ID 0x8A2C103C Revision 161 LUID 0x000188CB Flags AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption PixelBoundary Compute Preemption DispatchBoundary Outputs 0 Feature Level Level_12_1 Features Doubles, ComputeShadersEtc Maximum Bitmap Size 16384 Video Card Microsoft Basic Render Driver Hardware Acceleration N/A Performance Class VeryLow Dedicated Video RAM 0 MB Dedicated System RAM 0 MB Shared System RAM 16,239 MB Driver Version 10.0.26100.1882 Vendor ID 0x1414 Device ID 0x008C Subsystem ID 0x00000000 Revision 0 LUID 0x00018859 Flags Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption InstructionBoundary Compute Preemption InstructionBoundary Outputs 0 Feature Level Level_12_1 Features Doubles, ComputeShadersEtc Maximum Bitmap Size 8388608 Managed assemblies 129 System.Private.CoreLib .\System.Private.CoreLib.dll, Version=9.0.0.0, PublicKeyToken=7cec85d7bea7798e paintdotnet .\paintdotnet.dll, Version=5.100.9038.5741 System.Runtime .\System.Runtime.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Windows.Core .\PaintDotNet.Windows.Core.dll, Version=5.100.9038.5741 PaintDotNet.Windows .\PaintDotNet.Windows.dll, Version=5.100.9038.5741 PaintDotNet.ComponentModel .\PaintDotNet.ComponentModel.dll, Version=5.100.9038.5741 PaintDotNet.Primitives .\PaintDotNet.Primitives.dll, Version=5.100.9038.5741 PaintDotNet.Fundamentals .\PaintDotNet.Fundamentals.dll, Version=5.100.9038.5741 System.Windows.Forms .\System.Windows.Forms.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 System.Diagnostics.Tracing .\System.Diagnostics.Tracing.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Threading.Thread .\System.Threading.Thread.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Base .\PaintDotNet.Base.dll, Version=5.100.9038.5741 PaintDotNet.Collections .\PaintDotNet.Collections.dll, Version=5.100.9038.5741 TerraFX.Interop.Windows .\TerraFX.Interop.Windows.dll, Version=10.0.26100.0, PublicKeyToken=35b01b53313a6f7e PaintDotNet.Runtime .\PaintDotNet.Runtime.dll, Version=5.100.9038.5741 System.Collections.Concurrent .\System.Collections.Concurrent.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PointerToolkit .\PointerToolkit.dll, Version=1.0.1.0 System.Threading .\System.Threading.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Systrace .\PaintDotNet.Systrace.dll, Version=5.100.9038.5741 System.Private.Uri .\System.Private.Uri.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.UI .\PaintDotNet.UI.dll, Version=5.100.9038.5741 PaintDotNet.Windows.Framework .\PaintDotNet.Windows.Framework.dll, Version=5.100.9038.5741 WindowsBase .\WindowsBase.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.Windows.SDK.NET .\Microsoft.Windows.SDK.NET.dll, Version=10.0.26100.34, PublicKeyToken=31bf3856ad364e35 PaintDotNet.ObjectModel .\PaintDotNet.ObjectModel.dll, Version=5.100.9038.5741 PresentationFramework .\PresentationFramework.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 WinRT.Runtime .\WinRT.Runtime.dll, Version=2.0.0.0, PublicKeyToken=99ea127f02d97709 System.Xaml .\System.Xaml.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 System.ComponentModel .\System.ComponentModel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Collections .\System.Collections.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ComponentModel.Primitives .\System.ComponentModel.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.InteropServices .\System.Runtime.InteropServices.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ObjectModel .\System.ObjectModel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Microsoft.Win32.Primitives .\Microsoft.Win32.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Windows.Forms.Primitives .\System.Windows.Forms.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 System.Private.Windows.Core .\System.Private.Windows.Core.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 System.Drawing.Primitives .\System.Drawing.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Configuration.ConfigurationManager .\System.Configuration.ConfigurationManager.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Text.Encoding.CodePages .\System.Text.Encoding.CodePages.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Core .\PaintDotNet.Core.dll, Version=5.100.9038.5741 PaintDotNet.SystemLayer .\PaintDotNet.SystemLayer.dll, Version=5.100.9038.5741 System.Collections.Specialized .\System.Collections.Specialized.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Resources .\PaintDotNet.Resources.dll, Version=5.100.9038.5741 System.Xml.ReaderWriter .\System.Xml.ReaderWriter.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Drawing.Common .\System.Drawing.Common.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Private.Xml .\System.Private.Xml.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.WebClient .\System.Net.WebClient.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Linq .\System.Linq.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Memory .\System.Memory.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Text.Encoding.Extensions .\System.Text.Encoding.Extensions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Data .\PaintDotNet.Data.dll, Version=5.100.9038.5741 PaintDotNet.Framework .\PaintDotNet.Framework.dll, Version=5.100.9038.5741 CommunityToolkit.HighPerformance .\CommunityToolkit.HighPerformance.dll, Version=8.2.0.0, PublicKeyToken=4aff67a105548ee2 System.Threading.ThreadPool .\System.Threading.ThreadPool.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Microsoft.Win32.Registry .\Microsoft.Win32.Registry.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Microsoft.Win32.SystemEvents .\Microsoft.Win32.SystemEvents.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Collections.Immutable .\System.Collections.Immutable.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PointerToolkit.TerraFX.Interop.Windows .\PointerToolkit.TerraFX.Interop.Windows.dll, Version=10.0.26100.0 System.ComponentModel.EventBasedAsync .\System.ComponentModel.EventBasedAsync.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Security.Principal.Windows .\System.Security.Principal.Windows.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Numerics.Vectors .\System.Numerics.Vectors.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Security.Claims .\System.Security.Claims.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a ComputeSharp.D2D1 .\ComputeSharp.D2D1.dll, Version=3.0.1.0, PublicKeyToken=dc35fa229f6881d8 System.ComponentModel.TypeConverter .\System.ComponentModel.TypeConverter.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PresentationCore .\PresentationCore.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 PaintDotNet.PropertySystem .\PaintDotNet.PropertySystem.dll, Version=5.100.9038.5741 DirectWriteForwarder .\DirectWriteForwarder.dll, Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 System.Runtime.Extensions .\System.Runtime.Extensions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.Debug .\System.Diagnostics.Debug.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.CompilerServices.VisualC .\System.Runtime.CompilerServices.VisualC.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Collections.NonGeneric .\System.Collections.NonGeneric.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.IO.Packaging .\System.IO.Packaging.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.TraceSource .\System.Diagnostics.TraceSource.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Effects.Core .\PaintDotNet.Effects.Core.dll, Version=5.100.9038.5741 Accessibility .\Accessibility.dll, Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35 System.Threading.Tasks.Parallel .\System.Threading.Tasks.Parallel.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.FileVersionInfo .\System.Diagnostics.FileVersionInfo.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Effects.Gpu .\PaintDotNet.Effects.Gpu.dll, Version=5.100.9038.5741 System.Runtime.Loader .\System.Runtime.Loader.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a DdsFileTypePlus .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, Version=1.12.11.0 WebPFileType .\Bundled\WebPFileType\WebPFileType.dll, Version=1.4.0.0 AvifFileType .\Bundled\AvifFileType\AvifFileType.dll, Version=3.10.0.0 PaintDotNet.Effects .\PaintDotNet.Effects.dll, Version=5.100.9038.5741 System.Reflection.Metadata .\System.Reflection.Metadata.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.IO.MemoryMappedFiles .\System.IO.MemoryMappedFiles.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Effects.Legacy .\PaintDotNet.Effects.Legacy.dll, Version=5.100.9038.5741 System.Net.Http .\System.Net.Http.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Net.Primitives .\System.Net.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.DiagnosticSource .\System.Diagnostics.DiagnosticSource.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.Security .\System.Net.Security.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Security.Cryptography .\System.Security.Cryptography.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a ComputeSharp.Core .\ComputeSharp.Core.dll, Version=3.0.1.0, PublicKeyToken=dc35fa229f6881d8 SauceControl.Blake2Fast .\SauceControl.Blake2Fast.dll, Version=2.0.0.0, PublicKeyToken=deebe556222e40dc PhotoSauce.MagicScaler .\PhotoSauce.MagicScaler.dll, Version=0.15.0.0, PublicKeyToken=fc6b9b7b06809481 System.Linq.Expressions .\System.Linq.Expressions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Reflection.Emit .\System.Reflection.Emit.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Snippets «empty», Version=0.0.0.0 System.IO.Hashing .\System.IO.Hashing.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Newtonsoft.Json .\Newtonsoft.Json.dll, Version=13.0.0.0, PublicKeyToken=30ad4fe6b2a6aeed System.Text.RegularExpressions .\System.Text.RegularExpressions.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.Numerics .\System.Runtime.Numerics.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Reflection.MetadataLoadContext .\System.Reflection.MetadataLoadContext.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 MatrixMixer .\Effects\MatrixMixer.dll, Version=1.0.9051.36930 ColorDiff .\Effects\ColorDiff.dll, Version=1.0.9051.36930 FocusFilter .\Effects\FocusFilter.dll, Version=1.0.9051.36930 Monochrome .\Effects\Monochrome.dll, Version=1.0.9051.36930 GammaRatio .\Effects\GammaRatio.dll, Version=1.0.9051.36930 LightBalance .\Effects\LightBalance.dll, Version=1.0.9051.36930 RawClipboard .\Effects\RawClipboard.dll, Version=1.0.9052.2991 MedianFilter .\Effects\MedianFilter.dll, Version=1.0.9051.36931 System.Text.Json .\System.Text.Json.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 PixelDiff .\Effects\PixelDiff.dll, Version=1.0.9051.36930 CodeLab .\Effects\CodeLab.dll, Version=6.12.8807.38030 LightBlender .\Effects\LightBlender.dll, Version=1.0.9051.36930 System.Runtime.Intrinsics .\System.Runtime.Intrinsics.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.IO.FileSystem .\System.IO.FileSystem.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Threading.Tasks .\System.Threading.Tasks.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Xml.XDocument .\System.Xml.XDocument.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Private.Xml.Linq .\System.Private.Xml.Linq.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Security.Cryptography.Primitives .\System.Security.Cryptography.Primitives.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.IO.Compression .\System.IO.Compression.dll, Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 System.Security.Cryptography.Algorithms .\System.Security.Cryptography.Algorithms.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a netstandard .\netstandard.dll, Version=2.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Runtime.Serialization.Formatters .\System.Runtime.Serialization.Formatters.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a K4os.Compression.LZ4 .\K4os.Compression.LZ4.dll, Version=1.3.8.0, PublicKeyToken=2186fa9121ef231d mscorlib .\mscorlib.dll, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089 System.Diagnostics.Process .\System.Diagnostics.Process.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.CodeDom .\System.CodeDom.dll, Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Diagnostics.StackTrace .\System.Diagnostics.StackTrace.dll, Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Native modules 240 paintdotnet.exe .\paintdotnet.exe, version=5.100.9038.5741 ntdll.dll C:\WINDOWS\SYSTEM32\ntdll.dll, version=10.0.26100.2290 (WinBuild.160101.0800) KERNEL32.DLL C:\WINDOWS\System32\KERNEL32.DLL, version=10.0.26100.2290 (WinBuild.160101.0800) KERNELBASE.dll C:\WINDOWS\System32\KERNELBASE.dll, version=10.0.26100.2290 (WinBuild.160101.0800) SHELL32.dll C:\WINDOWS\System32\SHELL32.dll, version=10.0.26100.2290 (WinBuild.160101.0800) msvcp_win.dll C:\WINDOWS\System32\msvcp_win.dll, version=10.0.26100.1882 (WinBuild.160101.0800) ucrtbase.dll C:\WINDOWS\System32\ucrtbase.dll, version=10.0.26100.1882 (WinBuild.160101.0800) USER32.dll C:\WINDOWS\System32\USER32.dll, version=10.0.26100.2290 (WinBuild.160101.0800) win32u.dll C:\WINDOWS\System32\win32u.dll, version=10.0.26100.2033 (WinBuild.160101.0800) GDI32.dll C:\WINDOWS\System32\GDI32.dll, version=10.0.26100.2033 (WinBuild.160101.0800) gdi32full.dll C:\WINDOWS\System32\gdi32full.dll, version=10.0.26100.2033 (WinBuild.160101.0800) ole32.dll C:\WINDOWS\System32\ole32.dll, version=10.0.26100.2290 (WinBuild.160101.0800) combase.dll C:\WINDOWS\System32\combase.dll, version=10.0.26100.2290 (WinBuild.160101.0800) RPCRT4.dll C:\WINDOWS\System32\RPCRT4.dll, version=10.0.26100.2290 (WinBuild.160101.0800) OLEAUT32.dll C:\WINDOWS\System32\OLEAUT32.dll, version=10.0.26100.1882 (WinBuild.160101.0800) SHLWAPI.dll C:\WINDOWS\System32\SHLWAPI.dll, version=10.0.26100.2290 (WinBuild.160101.0800) msvcrt.dll C:\WINDOWS\System32\msvcrt.dll, version=7.0.26100.1882 (WinBuild.160101.0800) VCRUNTIME140_1.dll .\VCRUNTIME140_1.dll, version=14.42.34226.3 VCRUNTIME140.dll .\VCRUNTIME140.dll, version=14.42.34226.3 IMM32.DLL C:\WINDOWS\System32\IMM32.DLL, version=10.0.26100.1150 (WinBuild.160101.0800) shcore.dll C:\WINDOWS\System32\shcore.dll, version=10.0.26100.2290 (WinBuild.160101.0800) hostfxr.dll .\hostfxr.dll, version=9,0,24,43107 @Commit: c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 ADVAPI32.dll C:\WINDOWS\System32\ADVAPI32.dll, version=10.0.26100.2290 (WinBuild.160101.0800) sechost.dll C:\WINDOWS\System32\sechost.dll, version=10.0.26100.1 (WinBuild.160101.0800) hostpolicy.dll .\hostpolicy.dll, version=9,0,24,43107 @Commit: c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 coreclr.dll .\coreclr.dll, version=9,0,24,43107 @Commit: c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 bcryptPrimitives.dll C:\WINDOWS\System32\bcryptPrimitives.dll, version=10.0.26100.2033 (WinBuild.160101.0800) System.Private.CoreLib.dll .\System.Private.CoreLib.dll, version=9.0.24.43107 kernel.appcore.dll C:\WINDOWS\SYSTEM32\kernel.appcore.dll, version=10.0.26100.1591 (WinBuild.160101.0800) paintdotnet.dll .\paintdotnet.dll, version=5.100.9038.5741 System.Runtime.dll .\System.Runtime.dll, version=9.0.24.43107 uxtheme.dll C:\WINDOWS\system32\uxtheme.dll, version=10.0.26100.2290 (WinBuild.160101.0800) PaintDotNet.Windows.Core.dll .\PaintDotNet.Windows.Core.dll, version=5.100.9038.5741 PaintDotNet.Windows.dll .\PaintDotNet.Windows.dll, version=5.100.9038.5741 PaintDotNet.ComponentModel.dll .\PaintDotNet.ComponentModel.dll, version=5.100.9038.5741 PaintDotNet.Primitives.dll .\PaintDotNet.Primitives.dll, version=5.100.9038.5741 PaintDotNet.Fundamentals.dll .\PaintDotNet.Fundamentals.dll, version=5.100.9038.5741 System.Windows.Forms.dll .\System.Windows.Forms.dll, version=9.0.24.45101 System.Diagnostics.Tracing.dll .\System.Diagnostics.Tracing.dll, version=9.0.24.43107 clrjit.dll .\clrjit.dll, version=9,0,24,43107 @Commit: c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 icu.dll C:\WINDOWS\SYSTEM32\icu.dll, version=72, 1, 0, 2 (WinBuild.160101.0800) System.Threading.Thread.dll .\System.Threading.Thread.dll, version=9.0.24.43107 PaintDotNet.Base.dll .\PaintDotNet.Base.dll, version=5.100.9038.5741 PaintDotNet.Collections.dll .\PaintDotNet.Collections.dll, version=5.100.9038.5741 TerraFX.Interop.Windows.dll .\TerraFX.Interop.Windows.dll, version=10.0.26100.0 dxgi.DLL C:\WINDOWS\SYSTEM32\dxgi.DLL, version=10.0.26100.1882 (WinBuild.160101.0800) directxdatabasehelper.dll C:\WINDOWS\SYSTEM32\directxdatabasehelper.dll, version=10.0.26100.1882 (WinBuild.160101.0800) dxcore.dll C:\WINDOWS\SYSTEM32\dxcore.dll, version=10.0.26100.1882 (WinBuild.160101.0800) PaintDotNet.Runtime.dll .\PaintDotNet.Runtime.dll, version=5.100.9038.5741 System.Collections.Concurrent.dll .\System.Collections.Concurrent.dll, version=9.0.24.43107 PointerToolkit.dll .\PointerToolkit.dll, version=1.0.1.0 System.Threading.dll .\System.Threading.dll, version=9.0.24.43107 PaintDotNet.Systrace.dll .\PaintDotNet.Systrace.dll, version=5.100.9038.5741 windows.storage.dll C:\WINDOWS\SYSTEM32\windows.storage.dll, version=10.0.26100.2290 (WinBuild.160101.0800) System.Private.Uri.dll .\System.Private.Uri.dll, version=9.0.24.43107 BCrypt.dll C:\WINDOWS\SYSTEM32\BCrypt.dll, version=10.0.26100.2290 (WinBuild.160101.0800) PaintDotNet.UI.dll .\PaintDotNet.UI.dll, version=5.100.9038.5741 PaintDotNet.Windows.Framework.dll .\PaintDotNet.Windows.Framework.dll, version=5.100.9038.5741 WindowsBase.dll .\WindowsBase.dll, version=9.0.24.45110 Microsoft.Windows.SDK.NET.dll .\Microsoft.Windows.SDK.NET.dll, version=10.0.26100.34 PaintDotNet.ObjectModel.dll .\PaintDotNet.ObjectModel.dll, version=5.100.9038.5741 PresentationFramework.dll .\PresentationFramework.dll, version=9.0.24.45110 WinRT.Runtime.dll .\WinRT.Runtime.dll, version=2.0.8.46841 System.Xaml.dll .\System.Xaml.dll, version=9.0.24.45110 System.ComponentModel.dll .\System.ComponentModel.dll, version=9.0.24.43107 System.Collections.dll .\System.Collections.dll, version=9.0.24.43107 System.ComponentModel.Primitives.dll .\System.ComponentModel.Primitives.dll, version=9.0.24.43107 coremessaging.DLL C:\WINDOWS\SYSTEM32\coremessaging.DLL, version=10.0.26100.1882 (WinBuild.160101.0800) System.Runtime.InteropServices.dll .\System.Runtime.InteropServices.dll, version=9.0.24.43107 System.ObjectModel.dll .\System.ObjectModel.dll, version=9.0.24.43107 Microsoft.Win32.Primitives.dll .\Microsoft.Win32.Primitives.dll, version=9.0.24.43107 System.Windows.Forms.Primitives.dll .\System.Windows.Forms.Primitives.dll, version=9.0.24.45101 System.Private.Windows.Core.dll .\System.Private.Windows.Core.dll, version=9.0.24.45101 System.Drawing.Primitives.dll .\System.Drawing.Primitives.dll, version=9.0.24.43107 System.Configuration.ConfigurationManager.dll .\System.Configuration.ConfigurationManager.dll, version=9.0.24.43107 System.Text.Encoding.CodePages.dll .\System.Text.Encoding.CodePages.dll, version=9.0.24.43107 PaintDotNet.Core.dll .\PaintDotNet.Core.dll, version=5.100.9038.5741 PresentationNative_cor3.dll .\PresentationNative_cor3.dll, version=9,0,24,40706 @Commit: 0f7df5b8bcc4fad64fde43267ddf3d26a56cf69f PaintDotNet.SystemLayer.dll .\PaintDotNet.SystemLayer.dll, version=5.100.9038.5741 System.Collections.Specialized.dll .\System.Collections.Specialized.dll, version=9.0.24.43107 PaintDotNet.Resources.dll .\PaintDotNet.Resources.dll, version=5.100.9038.5741 System.Xml.ReaderWriter.dll .\System.Xml.ReaderWriter.dll, version=9.0.24.43107 System.Drawing.Common.dll .\System.Drawing.Common.dll, version=9.0.24.45101 System.Private.Xml.dll .\System.Private.Xml.dll, version=9.0.24.43107 System.Net.WebClient.dll .\System.Net.WebClient.dll, version=9.0.24.43107 System.Linq.dll .\System.Linq.dll, version=9.0.24.43107 System.Memory.dll .\System.Memory.dll, version=9.0.24.43107 System.Text.Encoding.Extensions.dll .\System.Text.Encoding.Extensions.dll, version=9.0.24.43107 PaintDotNet.Data.dll .\PaintDotNet.Data.dll, version=5.100.9038.5741 PaintDotNet.Framework.dll .\PaintDotNet.Framework.dll, version=5.100.9038.5741 CommunityToolkit.HighPerformance.dll .\CommunityToolkit.HighPerformance.dll, version=8.2.2.1 System.Threading.ThreadPool.dll .\System.Threading.ThreadPool.dll, version=9.0.24.43107 Microsoft.Win32.Registry.dll .\Microsoft.Win32.Registry.dll, version=9.0.24.43107 Microsoft.Win32.SystemEvents.dll .\Microsoft.Win32.SystemEvents.dll, version=9.0.24.43107 System.Collections.Immutable.dll .\System.Collections.Immutable.dll, version=9.0.24.43107 PointerToolkit.TerraFX.Interop.Windows.dll .\PointerToolkit.TerraFX.Interop.Windows.dll, version=10.0.26100.0 System.ComponentModel.EventBasedAsync.dll .\System.ComponentModel.EventBasedAsync.dll, version=9.0.24.43107 System.Security.Principal.Windows.dll .\System.Security.Principal.Windows.dll, version=9.0.24.43107 MSCTF.dll C:\WINDOWS\System32\MSCTF.dll, version=10.0.26100.2290 (WinBuild.160101.0800) profapi.dll C:\WINDOWS\SYSTEM32\profapi.dll, version=10.0.26100.1882 (WinBuild.160101.0800) System.Numerics.Vectors.dll .\System.Numerics.Vectors.dll, version=9.0.24.43107 System.Security.Claims.dll .\System.Security.Claims.dll, version=9.0.24.43107 ComputeSharp.D2D1.dll .\ComputeSharp.D2D1.dll, version=3.0.1.0 d3d11.DLL C:\WINDOWS\SYSTEM32\d3d11.DLL, version=10.0.26100.1882 (WinBuild.160101.0800) nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_29990e31b476266d\nvldumdx.dll, version=32.0.15.6590 VERSION.dll C:\WINDOWS\SYSTEM32\VERSION.dll, version=10.0.26100.1150 (WinBuild.160101.0800) msasn1.dll C:\WINDOWS\SYSTEM32\msasn1.dll, version=10.0.26100.1150 (WinBuild.160101.0800) cryptnet.dll C:\WINDOWS\SYSTEM32\cryptnet.dll, version=10.0.26100.1882 (WinBuild.160101.0800) CRYPT32.dll C:\WINDOWS\System32\CRYPT32.dll, version=10.0.26100.2290 (WinBuild.160101.0800) cryptbase.dll C:\WINDOWS\SYSTEM32\cryptbase.dll, version=10.0.26100.1 (WinBuild.160101.0800) wldp.dll C:\WINDOWS\SYSTEM32\wldp.dll, version=10.0.26100.2290 (WinBuild.160101.0800) drvstore.dll C:\WINDOWS\SYSTEM32\drvstore.dll, version=10.0.26100.1882 (WinBuild.160101.0800) devobj.dll C:\WINDOWS\SYSTEM32\devobj.dll, version=10.0.26100.1150 (WinBuild.160101.0800) cfgmgr32.dll C:\WINDOWS\SYSTEM32\cfgmgr32.dll, version=10.0.26100.1882 (WinBuild.160101.0800) wintrust.dll C:\WINDOWS\System32\wintrust.dll, version=10.0.26100.1882 (WinBuild.160101.0800) System.ComponentModel.TypeConverter.dll .\System.ComponentModel.TypeConverter.dll, version=9.0.24.43107 imagehlp.dll C:\WINDOWS\System32\imagehlp.dll, version=10.0.26100.1150 (WinBuild.160101.0800) PresentationCore.dll .\PresentationCore.dll, version=9.0.24.45110 d2d1.DLL C:\WINDOWS\SYSTEM32\d2d1.DLL, version=10.0.26100.2290 (WinBuild.160101.0800) PaintDotNet.PropertySystem.dll .\PaintDotNet.PropertySystem.dll, version=5.100.9038.5741 dwrite.dll C:\WINDOWS\SYSTEM32\dwrite.dll, version=10.0.26100.2290 (WinBuild.160101.0800) DirectWriteForwarder.dll .\DirectWriteForwarder.dll, version=9,0,24,45110 @Commit: 32227d2fa67c462e95005b288057aafa66391a49 System.Runtime.Extensions.dll .\System.Runtime.Extensions.dll, version=9.0.24.43107 System.Diagnostics.Debug.dll .\System.Diagnostics.Debug.dll, version=9.0.24.43107 System.Runtime.CompilerServices.VisualC.dll .\System.Runtime.CompilerServices.VisualC.dll, version=9.0.24.43107 gdiplus.dll C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.26100.1882_none_6ef987803dc1440e\gdiplus.dll, version=10.0.26100.1882 (WinBuild.160101.0800) WindowsCodecs.dll C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=10.0.26100.2033 (WinBuild.160101.0800) System.Collections.NonGeneric.dll .\System.Collections.NonGeneric.dll, version=9.0.24.43107 System.IO.Packaging.dll .\System.IO.Packaging.dll, version=9.0.24.43107 XmlLite.dll C:\WINDOWS\SYSTEM32\XmlLite.dll, version=10.0.26100.1150 (WinBuild.160101.0800) System.Diagnostics.TraceSource.dll .\System.Diagnostics.TraceSource.dll, version=9.0.24.43107 clbcatq.dll C:\WINDOWS\System32\clbcatq.dll, version=2001.12.10941.16384 (WinBuild.160101.0800) UIAnimation.dll C:\WINDOWS\System32\UIAnimation.dll, version=10.0.26100.1150 (WinBuild.160101.0800) PaintDotNet.Effects.Core.dll .\PaintDotNet.Effects.Core.dll, version=5.100.9038.5741 wtsapi32.dll C:\WINDOWS\SYSTEM32\wtsapi32.dll, version=10.0.26100.1 (WinBuild.160101.0800) WINSTA.dll C:\WINDOWS\SYSTEM32\WINSTA.dll, version=10.0.26100.1882 (WinBuild.160101.0800) CRYPTSP.dll C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=10.0.26100.1 (WinBuild.160101.0800) rsaenh.dll C:\WINDOWS\system32\rsaenh.dll, version=10.0.26100.1 (WinBuild.160101.0800) comctl32.dll C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.1882_none_3e0e949ae32eca40\comctl32.dll, version=6.10 (WinBuild.160101.0800) nvgpucomp64.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_29990e31b476266d\nvgpucomp64.dll, version=32.0.15.6590 Accessibility.dll .\Accessibility.dll, version=9.0.24.45101 System.Threading.Tasks.Parallel.dll .\System.Threading.Tasks.Parallel.dll, version=9.0.24.43107 System.Diagnostics.FileVersionInfo.dll .\System.Diagnostics.FileVersionInfo.dll, version=9.0.24.43107 nvwgf2umx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_29990e31b476266d\nvwgf2umx.dll, version=32.0.15.6590 WINMM.dll C:\WINDOWS\SYSTEM32\WINMM.dll, version=10.0.26100.2290 (WinBuild.160101.0800) POWRPROF.dll C:\WINDOWS\SYSTEM32\POWRPROF.dll, version=10.0.26100.2290 (WinBuild.160101.0800) UMPDC.dll C:\WINDOWS\SYSTEM32\UMPDC.dll, version=10.0.26100.1301 (WinBuild.160101.0800) PaintDotNet.Effects.Gpu.dll .\PaintDotNet.Effects.Gpu.dll, version=5.100.9038.5741 System.Runtime.Loader.dll .\System.Runtime.Loader.dll, version=9.0.24.43107 nvppex.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_29990e31b476266d\nvppex.dll, version=32.0.15.6590 mfplat.dll C:\WINDOWS\SYSTEM32\mfplat.dll, version=10.0.26100.2290 (WinBuild.160101.0800) RTWorkQ.DLL C:\WINDOWS\SYSTEM32\RTWorkQ.DLL, version=10.0.26100.1 (WinBuild.160101.0800) CompPkgSup.DLL C:\WINDOWS\SYSTEM32\CompPkgSup.DLL, version=10.0.26100.1882 (WinBuild.160101.0800) DdsFileTypePlus.dll .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, version=1.12.11.0 WebPFileType.dll .\Bundled\WebPFileType\WebPFileType.dll, version=1.4.0.0 AvifFileType.dll .\Bundled\AvifFileType\AvifFileType.dll, version=3.10.0.0 Windows.StateRepositoryPS.dll C:\Windows\System32\Windows.StateRepositoryPS.dll, version=10.0.26100.1882 (WinBuild.160101.0800) wintypes.dll C:\Windows\System32\wintypes.dll, version=10.0.26100.2290 (WinBuild.160101.0800) TextShaping.dll C:\WINDOWS\SYSTEM32\TextShaping.dll, version=10.0.26100.2033 (WinBuild.160101.0800) windows.staterepositoryclient.dll C:\WINDOWS\SYSTEM32\windows.staterepositoryclient.dll, version=10.0.26100.1882 (WinBuild.160101.0800) windows.staterepositorycore.dll C:\WINDOWS\SYSTEM32\windows.staterepositorycore.dll, version=10.0.26100.1882 (WinBuild.160101.0800) PaintDotNet.Effects.dll .\PaintDotNet.Effects.dll, version=5.100.9038.5741 System.Reflection.Metadata.dll .\System.Reflection.Metadata.dll, version=9.0.24.43107 System.IO.MemoryMappedFiles.dll .\System.IO.MemoryMappedFiles.dll, version=9.0.24.43107 PaintDotNet.Effects.Legacy.dll .\PaintDotNet.Effects.Legacy.dll, version=5.100.9038.5741 UIAutomationCore.dll C:\WINDOWS\SYSTEM32\UIAutomationCore.dll, version=7.2.26100.2290 (WinBuild.160101.0800) System.Net.Http.dll .\System.Net.Http.dll, version=9.0.24.43107 System.Net.Primitives.dll .\System.Net.Primitives.dll, version=9.0.24.43107 System.Diagnostics.DiagnosticSource.dll .\System.Diagnostics.DiagnosticSource.dll, version=9.0.24.43107 System.Net.Security.dll .\System.Net.Security.dll, version=9.0.24.43107 System.Security.Cryptography.dll .\System.Security.Cryptography.dll, version=9.0.24.43107 D3D10Warp.dll C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=10.0.26100.1882 (WinBuild.160101.0800) ComputeSharp.Core.dll .\ComputeSharp.Core.dll, version=3.0.1.0 d3dcompiler_47.DLL C:\WINDOWS\SYSTEM32\d3dcompiler_47.DLL, version=10.0.26100.2033 (WinBuild.160101.0800) SauceControl.Blake2Fast.dll .\SauceControl.Blake2Fast.dll, version=2.0.0.0 mscms.DLL C:\WINDOWS\SYSTEM32\mscms.DLL, version=10.0.26100.2290 (WinBuild.160101.0800) icm32.dll C:\WINDOWS\SYSTEM32\icm32.dll, version=10.0.26100.1882 (WinBuild.160101.0800) PhotoSauce.MagicScaler.dll .\PhotoSauce.MagicScaler.dll, version=0.15.0.0 Cabinet.dll C:\WINDOWS\SYSTEM32\Cabinet.dll, version=5.00 (WinBuild.160101.0800) dwmapi.DLL C:\WINDOWS\SYSTEM32\dwmapi.DLL, version=10.0.26100.2290 (WinBuild.160101.0800) Windows.Graphics.dll C:\Windows\System32\Windows.Graphics.dll, version=10.0.26100.1 (WinBuild.160101.0800) System.Linq.Expressions.dll .\System.Linq.Expressions.dll, version=9.0.24.43107 System.Reflection.Emit.dll .\System.Reflection.Emit.dll, version=9.0.24.43107 dataexchange.dll C:\WINDOWS\system32\dataexchange.dll, version=10.0.26100.1882 (WinBuild.160101.0800) twinapi.appcore.dll C:\WINDOWS\system32\twinapi.appcore.dll, version=10.0.26100.2290 (WinBuild.160101.0800) textinputframework.dll C:\WINDOWS\SYSTEM32\textinputframework.dll, version=10.0.26100.1882 (WinBuild.160101.0800) CoreUIComponents.dll C:\WINDOWS\SYSTEM32\CoreUIComponents.dll, version=10.0.26100.1882 Oleacc.dll C:\WINDOWS\system32\Oleacc.dll, version=7.2.26100.1882 (WinBuild.160101.0800) sxs.dll C:\WINDOWS\SYSTEM32\sxs.dll, version=10.0.26100.2290 (WinBuild.160101.0800) System.IO.Hashing.dll .\System.IO.Hashing.dll, version=9.0.24.43107 Newtonsoft.Json.dll .\Newtonsoft.Json.dll, version=13.0.3.27908 System.Text.RegularExpressions.dll .\System.Text.RegularExpressions.dll, version=9.0.24.43107 System.Runtime.Numerics.dll .\System.Runtime.Numerics.dll, version=9.0.24.43107 windowscodecsext.dll C:\WINDOWS\system32\windowscodecsext.dll, version=10.0.26100.1150 (WinBuild.160101.0800) System.Reflection.MetadataLoadContext.dll .\System.Reflection.MetadataLoadContext.dll, version=9.0.24.43107 PaintDotNet.SystemLayer.Native.x64.dll .\PaintDotNet.SystemLayer.Native.x64.dll, version=5.100.9038.5741 MatrixMixer.dll .\Effects\MatrixMixer.dll, version=1.0.9051.36930 ColorDiff.dll .\Effects\ColorDiff.dll, version=1.0.9051.36930 FocusFilter.dll .\Effects\FocusFilter.dll, version=1.0.9051.36930 Monochrome.dll .\Effects\Monochrome.dll, version=1.0.9051.36930 GammaRatio.dll .\Effects\GammaRatio.dll, version=1.0.9051.36930 LightBalance.dll .\Effects\LightBalance.dll, version=1.0.9051.36930 RawClipboard.dll .\Effects\RawClipboard.dll, version=1.0.9052.2991 MedianFilter.dll .\Effects\MedianFilter.dll, version=1.0.9051.36931 System.Text.Json.dll .\System.Text.Json.dll, version=9.0.24.43107 PixelDiff.dll .\Effects\PixelDiff.dll, version=1.0.9051.36930 CodeLab.dll .\Effects\CodeLab.dll, version=6.12.8807.38030 LightBlender.dll .\Effects\LightBlender.dll, version=1.0.9051.36930 System.Runtime.Intrinsics.dll .\System.Runtime.Intrinsics.dll, version=9.0.24.43107 System.IO.FileSystem.dll .\System.IO.FileSystem.dll, version=9.0.24.43107 System.Threading.Tasks.dll .\System.Threading.Tasks.dll, version=9.0.24.43107 igd10iumd64.dll C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\igd10iumd64.dll, version=32.0.101.6083 apphelp.dll C:\WINDOWS\SYSTEM32\apphelp.dll, version=10.0.26100.2290 (WinBuild.160101.0800) igd10um64xe.DLL C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\igd10um64xe.DLL, version=32.0.101.6083 IntelControlLib.dll C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\IntelControlLib.dll, version=1.0.210 igdgmm64.dll C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\igdgmm64.dll, version=32.0.101.6083 igc64.dll C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\igc64.dll, version=32.0.101.6083 igc-default64.dll C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b150668bddee3664\igc-default64.dll, version=32.0.101.6083 dcomp.dll C:\Windows\System32\dcomp.dll, version=10.0.26100.1882 (WinBuild.160101.0800) Microsoft.Internal.WarpPal.dll C:\Windows\System32\Microsoft.Internal.WarpPal.dll, version= System.Xml.XDocument.dll .\System.Xml.XDocument.dll, version=9.0.24.43107 System.Private.Xml.Linq.dll .\System.Private.Xml.Linq.dll, version=9.0.24.43107 System.Security.Cryptography.Primitives.dll .\System.Security.Cryptography.Primitives.dll, version=9.0.24.43107 System.IO.Compression.dll .\System.IO.Compression.dll, version=9.0.24.43107 System.Security.Cryptography.Algorithms.dll .\System.Security.Cryptography.Algorithms.dll, version=9.0.24.43107 netstandard.dll .\netstandard.dll, version=9.0.24.43107 policymanager.dll C:\WINDOWS\SYSTEM32\policymanager.dll, version=10.0.26100.1882 (WinBuild.160101.0800) msvcp110_win.dll C:\WINDOWS\SYSTEM32\msvcp110_win.dll, version=10.0.26100.1150 (WinBuild.160101.0800) System.Runtime.Serialization.Formatters.dll .\System.Runtime.Serialization.Formatters.dll, version=9.0.24.43107 Windows.FileExplorer.Common.dll C:\Windows\System32\Windows.FileExplorer.Common.dll, version=10.0.26100.2290 (WinBuild.160101.0800) propsys.dll C:\WINDOWS\system32\propsys.dll, version=7.0.26100.2290 (WinBuild.160101.0800) K4os.Compression.LZ4.dll .\K4os.Compression.LZ4.dll, version=1.3.8.0 mscorlib.dll .\mscorlib.dll, version=9.0.24.43107 explorerframe.dll C:\WINDOWS\system32\explorerframe.dll, version=10.0.26100.2290 (WinBuild.160101.0800) System.Diagnostics.Process.dll .\System.Diagnostics.Process.dll, version=9.0.24.43107 System.CodeDom.dll .\System.CodeDom.dll, version=9.0.24.43107 Microsoft.DiaSymReader.Native.amd64.dll .\Microsoft.DiaSymReader.Native.amd64.dll, version=14.40.33810.0 System.Diagnostics.StackTrace.dll .\System.Diagnostics.StackTrace.dll, version=9.0.24.43107 setupapi.DLL C:\WINDOWS\System32\setupapi.DLL, version=10.0.26100.2290 (WinBuild.160101.0800) Windows.Internal.Graphics.Display.DisplayColorManagement.dll C:\Windows\System32\Windows.Internal.Graphics.Display.DisplayColorManagement.dll, version=10.0.26100.1882 (WinBuild.160101.0800) 36 minutes ago, Rick Brewster said: PDN doesn't always treat the clipboard as sRGB. It depends on what format the clipboard data is in. So it's combination of things. One thing I know is, if I Ctrl+C in DP3 image and read it with IClipboard.TryGetBitmap(), I will get sRGB converted version of bitmap, which I was having a problem. 43 minutes ago, Rick Brewster said: 7??? Please used the named enum values. Yeah.. usually I don't do this but BitmapImageOptions.DoNotCache | BitmapImageOptions.UseStraightAlpha | BitmapImageOptions.DisableColorSpaceConversion felt too much. They are compile time constants so once it's compiled, it's being 7 I believe. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted Saturday at 06:33 PM Share Posted Saturday at 06:33 PM Oh, there is actually a big difference between Edit->Copy/Paste versus IClipboardService.TryGetBitmap()/SetImage(). Edit->Copy will copy a PNG (sRGB) and DIBv5 (sRGB), but it will also copy a native PDN "ClipboardBitmap" that includes the color profile. Edit->Paste will read the ClipboardBitmap and understands the color profile and will do the right thing (convert to image's color profile). IClipboardService does not handle "ClipboardBitmap" and will always get the image without the color profile. If there is a color profile then it gets lost. There is no conversion to sRGB. This is just an artifact of some code organization that I never got around to fixing. I'll see about upgrading the IClipboardService so that it handles color profiles correctly, and can also provide you the color profile if you want it (without conversion to sRGB). 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
_koh_ Posted Saturday at 08:20 PM Author Share Posted Saturday at 08:20 PM 1 hour ago, Rick Brewster said: Edit->Copy will copy a PNG (sRGB) and DIBv5 (sRGB), but it will also copy a native PDN "ClipboardBitmap" that includes the color profile. Edit->Paste will read the ClipboardBitmap and understands the color profile and will do the right thing (convert to image's color profile). Ah, this is what PDN is doing. When I do PDN -> PDN copy, not only it knows proper color profile, but also knows where to paste, so I was assuming PDN is not using clipboard for PDN -> PDN copy. 1 hour ago, Rick Brewster said: This is just an artifact of some code organization that I never got around to fixing. I'll see about upgrading the IClipboardService so that it handles color profiles correctly, and can also provide you the color profile if you want it (without conversion to sRGB). Yeah, IClipboardService update will solve PDN <-> plugins problems. PDN <-> other apps problems could still remain. For a workaround, I can temporary assign sRGB color profile before using the clipboard, but that's a weird thing to do so I don't expect people gonna do that. Quote Link to comment Share on other sites More sharing options...
Tactilis Posted Sunday at 07:08 AM Share Posted Sunday at 07:08 AM 10 hours ago, _koh_ said: When I do PDN -> PDN copy, not only it knows proper color profile, but also knows where to paste, so I was assuming PDN is not using clipboard for PDN -> PDN copy. At the time of doing the copy, paint.net doesn't know where you are intending to paste to. So, the clipboard always has to be used. Unless I am misunderstanding what you mean by PDN -> PDN copy. Quote Link to comment Share on other sites More sharing options...
_koh_ Posted Sunday at 10:20 AM Author Share Posted Sunday at 10:20 AM When I do Ctrl+C in PDN, then Ctrl+V in PDN and another app, PDN uses different version of bitmap + color profile + selection information for Ctrl+V in PDN. And I can't access them from PDN's clipboard API. So I was thinking they might stored internally, not in the system clipboard. Actually I can easily test this one. create selection -> copy -> reboot PDN -> paste It still maintains selection information so they should stored in the system clipboard. Quote Link to comment Share on other sites More sharing options...
_koh_ Posted Sunday at 11:10 AM Author Share Posted Sunday at 11:10 AM 16 hours ago, Rick Brewster said: Edit->Copy will copy a PNG (sRGB) and DIBv5 (sRGB) I'm sure there is a reasoning for this, but if I want to do a lossy conversion, I rather do it explicitly from the menu and copy it. I assume many people are using external apps in the process, so likely they will end up with a DP3 image with sRGB gamut and such, and will have no idea when it happened. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted Sunday at 04:44 PM Share Posted Sunday at 04:44 PM What I mean is that Edit->Copy will transform the image to sRGB and then copy it to the clipboard as PNG and DIBv5. For DIBv5 this is unavoidable; technically DIB supports color profiles but I have not found any software that uses it. For PNG, I was not able to get other software to use the profile, it either assumed sRGB or copied the bits over without regard to color profiles. I wasn't able to find a good solution to this, but that doesn't mean there isn't one. I'm extremely hesitant to add more Copy or Paste variants in the Edit menu, or dialogs that ask questions that the user does not know the answer to. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
_koh_ Posted Sunday at 06:00 PM Author Share Posted Sunday at 06:00 PM An image without color profile should be treated as sRGB, thus if you don't attach color profile, it should be converted to sRGB beforehand. Which is consistent and understandable. I just think it's OK to send a DP3 bitmap without color profile to the clipboard, and this might be a better alternative in this case. PDN 5.0 works in this way, and majority of the apps will not support color management anyway. I generally think doing nothing is as good as doing it perfectly, because it's less confusing. edit: Maybe color profiles are just a presentation attribute for me, which shouldn't affect the data. Quote Link to comment Share on other sites More sharing options...
_koh_ Posted Monday at 08:50 AM Author Share Posted Monday at 08:50 AM When copying the data between different color profiles, PDN 5.1 automatically converts the data to maintain the look. But it's virtually impossible to make this work across the apps. Just copy the data like PDN 5.0, and if you want to maintain the look, you need to manually match the source / destination color profiles. This is equally good and more straightforward I guess. I'm curious how GIMP and such are handling this. edit: Some data could be non color data like height maps, so maybe better to avoid implicit conversion in the first place. edit2: PDN 5.1 To maintain the look, just copy & paste. To maintain the data, assign source profile then copy & paste. If it works like PDN 5.0 To maintain the data, just copy & paste. To maintain the look, covert source profile then copy & paste. Yeah same things, just contrapositive. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted 12 minutes ago Share Posted 12 minutes ago So the IClipboardService doesn't actually need to work with the "native" format (ClipboardBitmap, which I'm actually renaming to MaskedBitmap, but that doesn't matter because it's internal anyway). It's sufficient to work with the PNG's color profile. This seems to accomplish everything we need: Copy/Paste inside of PDN: maintains look of image (source is transformed to destination's color space) Copy from PDN to outside of PDN: maintains look of image if the target app handles PNG w/ color profile (Word and GIMP seem to do this!). Otherwise, no change in behavior from 5.0 (pixel values copy directly even if it's "wrong"). Copy from outside PDN to inside of PDN: maintains look of image if the source app provides a PNG w/ color profile. Otherwise, no change in behavior from 5.0 (pixel values copy directly even if it's "wrong"). If the source or target app only handles DIB/DIBv5, then there's no color profile handling. PDN will not convert to sRGB when copying or pasting. No change from 5.0. Old IClipboardService method, e.g. TryGetBitmap() -- No automatic color space conversions. Pixel values copy over directly even if they're "wrong." No change in behavior from 5.0. New IClipboardService methods, which are the TryGetImage() overloads that return an IClipboardImage: If you care about the color profile (IColorContext), then you can do new things. Otherwise, since IClipboardImage is an IBitmapSource, there's no change in behavior from 5.0. PNG also supports 64-bits per pixel, if that becomes useful. At some point when HDR support is added to PDN, it may become useful to put a JPEG XR on the clipboard. Or an AVIF. I don't know. We'll cross that bridge when we get to it. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.