Jump to content

ArgusMagnus' Plugin Pack (2018/10/19)


ArgusMagnus
 Share

Recommended Posts

You can download all my plugins from here: https://1drv.ms/f/s!AoTkGO_MFp9CoOlMDloruoTbePt2Dw

(If you are worried about downloading *.dll files, download the whole folder and OneDrive will zip the files up for you)

 

Effects->Colors->Unblend

Remove a background Color from your selection to make it (semi-)transparent

 

Effects->Transforms->Fast Fourier Transform

Effects->Signal Processing->High/Low/Band Pass Filter

 

Effects->Stylize->Edge Detect+

Recolor the edges in your selection and make the rest transparent

 

Effects->Render->Barcode

Render various barcode formats (e.g. QR-Codes)

 

FileTypes->App Icon Set

Saves an image scaled to various resolutions in a structure inside a zip file suitable to be used for app (Android/iOS) development

Edited by ArgusMagnus
  • Like 1
  • Upvote 2

My batch Image Processor: https://imagenator.codeplex.com

Link to comment
Share on other sites

Spelling error in the thread title. I almost pasted that into the Plugin Index :mrviolet:

Link to comment
Share on other sites

I've updated my plugins to be a) v4.1.* compatible and b) completely self-contained (one dll file, no dependencies). The plugin behavior is unaltered. When updating, remove all Argus*.dll files first.

 

Also, there is one new effect (Barcode renderer) and one new filetype (app icon set).

Edited by ArgusMagnus
  • Like 2

My batch Image Processor: https://imagenator.codeplex.com

Link to comment
Share on other sites

  • 7 months later...

Is that plugin part of this plugin pack?

Link to comment
Share on other sites

  • 2 years later...

@ArgusMagnus did you not update the version stamp in the assembly when you published the update?

 

I'm getting crash reports about this for PDN 4.3 where the plugin can't load ArgusPaintNet.Shared, but the plugins posted here do not have that file (as you noted, they're now self-contained). So they're obviously using the old version of your plugin. However, the version is still "1.0.0.0" so I can't block the old "version" from loading and then include a message in Plugin Errors telling the user that they need to install the updated plugin.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Actually I think I have a hypothesis for what's happening. In the Dispose() method for UnblendEffect, it's calling Dispose() on a Task<ArgusColor> (btw you don't need to, and shouldn't, call Dispose() on Tasks anymore, that's been deprecated).

 

So I think the plugin loader picked up the old copy of ArgusPDN.dll, and the runtime is binding the new effect to the old shared library's version of ArgusColor. I may be able to work around this ... but please, make sure to increment the assembly version when you release an update plugin.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 3 months later...

Hello,

Working on: Win10, Paint.net 4.3.3.

- Installed FFT plugins in \Program Files\paint.net\Effects folder

-libfftw3-3.dll in \Program Files\paint.net folder and Windows\System32 folder but can't start FFT aplications due to error message.  What is wrong?

Thanks

 

image.png.1c545bfa88decccf582cf14748b0e5ae.png

 

 

 

 

Link to comment
Share on other sites

Putting libfftw3-3.dll into the main folder for the app (C:\Program Files\paint.net) is not correct. It needs to go in the same folder as the plugin DLL.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I installed this Plugin Pack, as I was interested in the Barcode features. Did a Plugin Errors check before I used it - no errors. Immediate crash with the Barcode plugin. Windows 10 Pro, PDN 4.3.3 (latest). Any ideas? Am I missing installing something else, other than the DLLs?

 

Brian

 

Link to comment
Share on other sites

The plugin is failing to access a method of Paint.NET.  I'm not sure why; it's a public method.

 

Exception details:
System.MethodAccessException: Attempt by method 'ArgusPDN.Barcode.BarcodeEffect+<>c__DisplayClass15_0.<OnSetRenderInfo>b__0()' to access method 'PaintDotNet.ControlExtensions.EnumerateControlsDepthFirst(System.Windows.Forms.Control, Boolean)' failed.
   at ArgusPDN.Barcode.BarcodeEffect.<>c__DisplayClass15_0.<OnSetRenderInfo>b__0()
   at ArgusPDN.Utils.<>c__DisplayClass10_0.<InvokeOnUIThread>b__0(Object state)
   at PaintDotNet.Threading.PdnSynchronizationContext.PumpSendQueue(Object context) in D:\src\pdn\src\Base\Threading\PdnSynchronizationContext.cs:line 273

 

Edited by toe_head2001
Link to comment
Share on other sites

This is what I am getting:

 

Exception details:
System.MethodAccessException: Attempt by method 'ArgusPDN.Barcode.BarcodeEffect+<>c__DisplayClass15_0.<OnSetRenderInfo>b__0()' to access method 'PaintDotNet.ControlExtensions.EnumerateControlsDepthFirst(System.Windows.Forms.Control, Boolean)' failed.
   at ArgusPDN.Barcode.BarcodeEffect.<>c__DisplayClass15_0.<OnSetRenderInfo>b__0()
   at ArgusPDN.Utils.<>c__DisplayClass10_0.<InvokeOnUIThread>b__0(Object state)
   at PaintDotNet.Threading.PdnSynchronizationContext.PumpSendQueue(Object context) in D:\src\pdn\src\Base\Threading\PdnSynchronizationContext.cs:line 273

 

Brian

Link to comment
Share on other sites

@toe_head2001, that method is "public" but the containing class (ControlExtensions) is internal.

 

The plugin will need to be update. It was accessing internal methods in Paint.NET, which it shouldn't have been doing in the first place. I will not be fixing this in the app, the plugin must be fixed.

  • Upvote 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...