Sign in to follow this  
Followers 0
ArgusMagnus

Reverse Blend

17 posts in this topic

Effects->Colors->Reverse Blend

 

Download: https://onedrive.live.com/redir?resid=429F16CCEF18E484!339757&authkey=!AJ0aYSIXTh_4Jhs&ithint=folder%2ctxt

(Copy the files "ArgusPaintNet.ReverseBlend.dll" and "ArgusPaintNet.Shared.dll" to the "paint.net/Effects" folder)​

 

This effect is basically the reverse Operation for the normal blend Operation.

From the current selection and a Background Color (Primary Color, Average Color or "Dominant Color" <-- this is experimental, take a look at the code to see what it means^^) a foreground Image is calculated so that every Pixel has to lowest possible Alpha (highest Transperancy) under the condition that the result of a normal blend of the foreground and the Background Color is again the original Image.

 

I mainly use this effect to remove the "white" background of scanned sheets or to remove background from an image (e.g. Logo) which is blurred/contains gradients from the image to the background.

 

ReverseBlend_zpsofu2dksb.jpg

 

This effect is only revertible in the sense that blending on the Background Color accuratly restores the original Image as Long as tolerance is Zero.

 

Possible improvements in the future include: Different tolerances for Color channels (R,G,B ), Somehow Show the results of GetAverageColor and GetDominantColor to the user.

 

I didn't really know, where to put this. Currently it's under Effects->Reverse Operations->Reverse Blend. If you have a better idea, feel free to share it :-)

 

I wrote this Plugin some years ago, but never published it. I got reminded of it when I did something similar in another Project.. and here it is..

 

v1.2

- Compete UI overhaul

- Added HSV Tolerances

- New Backgroundcolor Sources: Average color and Dominant color of image from Clipboard

 

v1.1

- Removed Copy to and from Clipboard options (they were buggy)

- Changed rendering (render progress is now reflected in image)

 

v1.0

- Initial Release

Edited by ArgusMagnus
1

Share this post


Link to post
Share on other sites

The slider control for "Dominate Color" allows zero in its range, but it seems your code can't handle a value of zero.

0

Share this post


Link to post
Share on other sites

To add photos, upload them to a hosting service and post the links here. See HERE

0

Share this post


Link to post
Share on other sites

I know, I tried that, the Problem is that if I click on the "Link" or "Image" Symbol the window Pops up where I can enter the link to to Image on imageshack but I cannot click OK nor any other button, I can't even Close the window, I have to reload the page. And if I just try to insert the link as plain text (Ctrl+C, Ctrl+V), nothing happens.

0

Share this post


Link to post
Share on other sites

Try copying the image Direct Link and paste it inside an img tag. Surround the whole lot with square brackets.

[img=<image url>]

I've uploaded an image into your first post. Edit the post to see how it works.

0

Share this post


Link to post
Share on other sites

This looks interesting, thank you ArgusMagnus.

 

This plugin essentially removes background colour. I suggest placing it under Effects->Color where all plugins with similar functionality are placed.

 

Regarding this forum and IE, I can confirm that they do not mix together well. Just reading the forum using IE is fine, but you have problems if you try to post anything or reply to a post.

I use IE for all my browsing except for this forum. I have installed Firefox on my PC especially for the Paint.NET forum. 

0

Share this post


Link to post
Share on other sites

I've uploaded an update.

Changes:

- I removed the "Use standard Deviation * Tolerance as actual Tolerance" Checkbox since that was a pretty much useless feature.

- I implemented another algorithm to calculate the mean color and standard deviation in one go (should speed up the processing a little if "Dominant Color" is selected).

- The "Image from Clipboard" options now only shows up in the "Background" DropDown if there actually is an image with a matching size on the clipboard.

 

I had issues with the copy to clipboard feature (my guess is due to multiple threads interfering with each other) and changed a few things there as well. I wasn't able to reproduce the error after the changes (sometimes, just an empty image was copied to the clipboard) but I'm not 100% sure it's fixed.

 

I have put it under Effects->Color, thanks for the suggestion.

 

I have upgraded to Windows 10 and Microsoft Edge today but no change there, this forum and Edge don't do well together either..

1

Share this post


Link to post
Share on other sites

Question time.... is this plugin housed in the same DLL as your FFT plugin? I'm asking because the DLL's have the same name - meaning one effect will overwrite the other.

0

Share this post


Link to post
Share on other sites

Hello ArgusMagnus,

 

I have downloaded and installed the dll in the effects folder as usual. But when I try to start Paint.net  it crashes and gave me an error. I solved the crush by removing the dll from the effects folder. for your information I am posting the error:

 

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.
 
Application version: paint.net 4.0.6 (Final 4.6.5693.28)
Time of crash: 9/25/2015 7:16:52 PM
Application uptime: 00:00:03.0041286
Application state: Running 
Working set: 122,984 KiB
Threads: 28
Install directory: C:\Program Files\paint.net
Current directory: C:\Program Files\Paint.NET
OS Version: 6.1.7601.65536 Service Pack 1 Workstation x86
.NET version: CLR 4.0.30319.34209 x86, FX 4.0 4.5
Processor: 4x "Intel® Core2 Quad  CPU   Q9550  @ 2.83GHz" @ ~2826MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1)
Physical memory: 3325 MB
Video card: ATI Radeon HD 2400 Pro (v:1002, d:94C1, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96.00 dpi (1.00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: False, 11/28/2014
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
Flags: 
 
Exception details:
System.TypeLoadException: Could not load type 'ArgusPaintNet.Shared.ArgusColor' from assembly 'ArgusPaintNet.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at ArgusPaintNet.ReverseBlend.ReverseBlendEffectPlugin.OnDispose(Boolean disposing)
   at PaintDotNet.Effects.Effect.Finalize() in d:\src\pdn\paintdotnet\src\Effects\Effect.cs:line 304
 
Managed assemblies: 
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
    PaintDotNet, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    PaintDotNet.Core, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    PaintDotNet.Base, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll
    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    PaintDotNet.SystemLayer, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    PaintDotNet.Framework, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
    PaintDotNet.Resources, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x86, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x86.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll
   
    ArgusPaint.net, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ArgusPaint.net.dll
    ArgusPaintNet.Convolution, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ArgusPaintNet.Convolution.dll
    ArgusPaintNet.EdgeDetection, Version=1.0.5744.38119, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ArgusPaintNet.EdgeDetection.dll
    ArgusPaintNet.ReverseBlend, Version=1.2.5746.27780, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ArgusPaintNet.ReverseBlend.dll
    ArgusPaintNet.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ArgusPaintNet.Shared.dll
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll
    OptionBasedLibrary v0.7.9, Version=0.7.9.1561, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\OptionBasedLibrary v0.7.9.dll
    System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll
    Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
    OptionBasedLibrary v0.7.8, Version=0.7.0.1491, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\OptionBasedLibrary v0.7.8.dll
 
Native modules: 
    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.6.5693.28
    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)
    C:\Windows\system32\KERNEL32.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\KERNELBASE.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\ADVAPI32.dll, version=6.1.7601.18869 (win7sp1_gdr.150525-0603)
    C:\Windows\system32\msvcrt.dll, version=7.0.7601.17744 (win7sp1_gdr.111215-1535)
    C:\Windows\SYSTEM32\sechost.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\RPCRT4.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\GDI32.dll, version=6.1.7601.18898 (win7sp1_gdr.150617-0600)
    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\LPK.dll, version=6.1.7601.18985 (win7sp1_gdr.150901-1452)
    C:\Windows\system32\USP10.dll, version=1.0626.7601.18454 (win7sp1_gdr.140424-1533)
    C:\Windows\system32\IMM32.DLL, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\MSCTF.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.51689.34249 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\d1265d6159ea876f9d63ea4c1361b587\mscorlib.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\ole32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7601.18939 (win7sp1_gdr.150722-0600)
    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System\d18e2115a3270f89663fce831547f534\System.ni.dll, version=4.0.30319.34238 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\fe41e3eae34ac29f3c1f03a03d8aa1af\System.Drawing.ni.dll, version=4.0.30319.34270 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsBase\efd34838fa44da246b78328f4432eac7\WindowsBase.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PresentationCore\f6fee9c78602505e874ec0807e3b1a51\PresentationCore.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio5ae0f00f#\dba6e73775e7b823a02925f063bd2983\PresentationFramework.ni.dll, version=4.0.30319.34209
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\c61bafa9d029e3f2bf83bd5af3f1f5ac\System.Core.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet.Base\191997f170efb675a29162657974595c\PaintDotNet.Base.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\0e5c6ed744d8e5894eec0b910e4fc7b0\System.Windows.Forms.ni.dll, version=4.0.30319.34251 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet500b2e4f#\8dbdcd1163739487a1010f69ba801201\PaintDotNet.SystemLayer.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet.Core\2307faa207ed6b1d3701a4b909da6f02\PaintDotNet.Core.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet26779e70#\d50deedc23c4b2edc31fcc928e93c323\PaintDotNet.Resources.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet7afaaa15#\1c16d5ddbd8650861aba7b38c61a48ad\PaintDotNet.Framework.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet.Data\e52f7d9a5ae065eabb8912596a58243c\PaintDotNet.Data.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet.Effects\ca512da141a77c2607a03200613b5b21\PaintDotNet.Effects.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNet\655c3df2b66501e4e19a8c7829c83cac\PaintDotNet.ni.exe, version=4.6.5693.28
    C:\Windows\system32\dwrite.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\OLEAUT32.dll, version=6.1.7601.18679
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\version.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\PaintDotNetc8826738#\0f75fff8b237610a7d97189cd53b33ea\PaintDotNet.SystemLayer.Native.x86.ni.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x86.dll, version=4.6.5693.28
    C:\Windows\system32\MSVCR120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\VCOMP120.DLL, version=12.00.21005.1 built by: REL
    C:\Windows\system32\MSVCP120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18946_none_72d45ee78666ea32\gdiplus.dll, version=6.1.7601.18946 (win7sp1_gdr.150730-0600)
    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CLBCatQ.DLL, version=2001.12.8530.16385 (win7_rtm.090713-1255)
    C:\Windows\System32\UIAnimation.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_ec86b8d6858ec0bc\comctl32.dll, version=5.82 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\908075c4922acdf834c67ac802814c9d\System.Configuration.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\3d6ee4ffbd9a86ac1e7b01800b6fe9c7\System.Xml.ni.dll, version=4.0.30319.34234 built by: FX452RTMGDR
    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.17251 (win8_gdr.150128-1514)
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xaml\1196cc375887ce75f134047505fe19bf\System.Xaml.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\wtsapi32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\WINSTA.dll, version=6.1.7601.18540 (win7sp1_gdr.140716-1508)
    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)
    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\aticfx32.dll, version=8.17.10.1107
    C:\Windows\system32\atiuxpag.dll, version=8.14.01.6243
    C:\Windows\system32\atidxx32.dll, version=8.17.10.0405
    C:\Windows\system32\winmm.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\explorerframe.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DUser.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DUI70.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Program Files\Paint.NET\Effects\GpcDotNet.IA32.dll, version=
    C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll, version=9.00.30729.6161
    C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcm90.dll, version=9.00.30729.6161
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Confe64a9051#\59763c8f9c0c49678513d5bf860708e2\System.Configuration.Install.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll, version=12.0.51209.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Design\0e34d8f9ae749f324f58b8d88c4842c8\System.Design.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V9921e851#\0ce5a71348ce3ef2f033c0065a065a6b\Microsoft.VisualBasic.ni.dll, version=12.0.51209.34209 built by: FX452RTMGDR
    C:\Windows\system32\SetupApi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CFGMGR32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\DEVOBJ.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\psapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
------------------------------------------------------------------------------
Edited by Eli
0

Share this post


Link to post
Share on other sites

Hello ArgusMagnus,

 

I have downloaded and installed the dll in the effects folder as usual. But when I try to start Paint.net  it crashes ...

Exception details:

System.TypeLoadException: Could not load type 'ArgusPaintNet.Shared.ArgusColor' from assembly 'ArgusPaintNet.Shared.dll'

It obviously needs a second dll in order to work.

And, now ArgusMagnus is learning why I never use 2 dlls for a single effect. :P

0

Share this post


Link to post
Share on other sites

It is strange because I have ArgusPaintNet.Shared.dll installed in the effects folder. Humm!

0

Share this post


Link to post
Share on other sites

I suspect the shared DLL has has the ArgusColor method renamed or refactored.

I'm with BoltBait on this; the helper DLL creates more problems than it solves.

0

Share this post


Link to post
Share on other sites

yeah, the shared dll was also updated and contains new types/methods (e.g. ArgusColor)

 

You are right, from a user standpoint, two assemblies are not ideal.. However, I hate it (I almost can't stand it) if I have duplicate code.. But I will rethink the design non the less

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0