Jump to content

Plugins


blumagoo2

Recommended Posts

In Reading through the "features" Part in the PDN Helpfile, You say:

"Paint.NET supports plugins that add new effects, adjustments, and file format support." So how do I go about makeing PDN See and use My 3rd Party Plugins?

"He who sacrifices freedom for security is neither free nor secure." Ben Franklin

Link to comment
Share on other sites

So how do I go about makeing PDN See and use My 3rd Party Plugins?
Do you have any plugins? I"d be interested to know what plugins are out there, as I haven't seen any as of yet.

It seems he wants to get into making plugins. I haven't started playing around with plugins yet...I got a new computer and VS .NET isn't installed yet...surprisingly...

Link to comment
Share on other sites

Moved to Coding/Development

If you want to write plugins, hold off until we release 2.6, with the source code. We're planning to do that by this weekend. Plugins compiled for 2.5 will not work in 2.6, and vice versa. The VS 2003 requirement is for Paint.NET 2.5. If you're working with Paint.NET 2.6 you will need VS 2005.

We don't have very good documentation on how to write plugins. We should hopefully have some after the 2.6 release, but I can't say when.

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

Just out of curiosity what is involved in writing a basic plugin?

Is is as simple and either inheriting from a Paint.Net plugin base class or implementing a Paint.Net Plugin Interface?

Are there a bunch of nice C# methods a plugin writer can call and events we can bind our code to?

Or is it lower level with a ton of PInvokes, COM Interop stuff, and/or custom attributes and such.

I'm curious because if it's anything like the first two I might give it a try once there is some documentation but I have no interest in manually searching through the source code of the whole app for how to hook stuff or doing anything in that last part.

Link to comment
Share on other sites

It's all C# based, there's no awful P/Invoke or COM interop that's required. It's actually very easy to write a simple plugin, we just need to actually document the darn thing and provide some examples.

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

  • 2 weeks later...

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.

×
×
  • Create New...