English 中文(简体)
Can Paint.NET plug-ins be used outside of Paint.NET?
原标题:

Can I easily use plug-ins made for Paint.NET in my own C# application (assuming that I comply with the plug-in licensing)?

My goal is to automate certain effects and it seems that there are quite a few for Paint.NET.

问题回答

Paint.NET was previously open source. I did a little Googling and I found the last open source version over here: http://d.freewareshare.net/938276

What you can do is take code from Paint.NET and use it in your project (eg. the stuff that plugins interface with). I believe Paint.NET 3.36 is licensed under some kind of super permissive open license, so even if your code is commercial in nature it shouldn t be a problem.

If you have any .NET assembly, you can use it in your code as long as you use it correctly.

In your case:

1- Are you sure you will implement all the interface with the plug-in correctly (your code will behave as if it is Paint.NET)?

2- Are you sure the plug-in does not depend on Paint.NET itself in doing its job?

3- Are you sure all pubic interfaces of the plug-in does not depend on each other (I mean you need not to call 2 public methods consecutively to perform a single functionality)?

If this plug-in is not obfuscated, you can reverse its code with Reflector and play with the code as you like.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签