Ah, I think I know why it crashed, something I forgot to mention. Please make sure to also put the 'PDNScriptor.txt' contained in the zip file in the Paint.Net\Effects folder together with the plugin.
I'll fix this issue in the next version.
Note that some of the example functions use 3rd party effects, like Ed Harvey Effects v 3.5 (2012-02-13).If you don't have it plugged in, it still shouldn't crash and just give a compile error.
The plugin comes with a set of examples, you can select it from the dropdown menu at the of the dialog.
The most basic function would be:
function NoEffect()
{
return source;
}
this simply returns the source image. see if you are able to apply it correctly without problems.
Then, the invert effect.
function JustInvertIt()
{
var dst = source.InvertColors();
return dst;
}
This will apply the invert color filter.
and then a combination:
function InvertBlur()
{
var blur = source.GaussianBlur(20);
var dst = blur.InvertColors();
return dst;
}
Let me know if it worked.
thanks,
Herre