Edited by cheatmaster18, 11 May 2012 - 08:13 AM.
Problem with loading custom effects to Paint.NET on Windows 7
#1
Posted 11 May 2012 - 07:55 AM
#2
Posted 11 May 2012 - 10:35 AM
Once unzipped, the files with the extension *.dll need to be moved to the Paint.NET/Effects/ folder (unless they are of the filetype nature, when they go in the Paint.NET/filetypes/ folder).
Restart Paint.NET once you have them moved into the correct location and you should be OK.

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
#3
Posted 11 May 2012 - 11:16 AM
Now it's been quite awhile since I've had the problem because I disabled the UAC (User Access Control) on my computer. I believe if he checks the properties on the .zip file that contained the .dll and/or the .dll itself it should indicate, "This file came from another computer and might be blocked to help protect this computer." If this is the case, and if my memory is correct, he should be able unblock the files from the same properties dialogue box.
#4
Posted 11 May 2012 - 01:55 PM
#5
Posted 11 May 2012 - 05:31 PM
Donations are always appreciated! http://www.getpaint.net/donate.html
#6
Posted 12 May 2012 - 05:06 AM

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
#7
Posted 12 May 2012 - 10:02 AM
#8
Posted 13 May 2012 - 03:46 AM
The probable cause is that you have targeted .NET 4.0 when you need to target 3.5.
In Visual Studio with your project open, go to the Solution Explorer double click Properties > Application tab. Under the target Framework heading, choose .NET 3.5 from the dropdown list.
Save & rebuild.
(Note: you may be prompted to close & reopen the project. Do so.)
Please let me know if this fixes the problem.

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
#9
Posted 13 May 2012 - 09:28 PM
#10
Posted 13 May 2012 - 10:06 PM

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
#11
Posted 14 May 2012 - 05:42 AM
using System;
using System.Drawing;
using PaintDotNet;
using PaintDotNet.Effects;
namespace ModelEffect
{
[EffectCategory(EffectCategory.Effect)]
public class EffectPlugin : Effect
{
public EffectPlugin() : base("Invert Colors", null,"CustomEffects", EffectFlags.Configurable)
{
}
public override void Render(EffectConfigToken parameters, PaintDotNet.RenderArgs dstArgs, PaintDotNet.RenderArgs srcArgs, System.Drawing.Rectangle[] rois, int startIndex, int length)
{
// My code is here
}
public override EffectConfigDialog CreateConfigDialog()
{
return new CreateEffectConfigDialog();
}
}
}
Edited by cheatmaster18, 14 May 2012 - 05:46 AM.
#12
Posted 14 May 2012 - 10:06 PM
I seem to recall BoltBait uses this development method. You can cut & paste the source from Codelab.
Have you followed these steps? http://forums.getpai...ate/#entry21968

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
#13
Posted 15 May 2012 - 03:58 AM
Download CodeLab here: http://boltbait.com/pdn/codelab/
Read the help file here: http://boltbait.com/pdn/codelab/help/ it includes LOTS of examples to get you started.





Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game
#14
Posted 15 May 2012 - 08:47 PM
Have you followed these steps? http://forums.getpai...ate/#entry21968
Thanks Ego Eram Reputo, the EffectPlugin-Template in the link you posted fixed the problem, now everything works again, I only had to do some modifications in the EffectPlugin-Template to do so it works correctly.
And thanks BoltBait, for the instructions that was in the link.
Edited by cheatmaster18, 15 May 2012 - 08:55 PM.











