Jump to content

Is it ok to minimize PDN with a plugin?


Recommended Posts

Hello, i was wondering if it's ok to minimize PDN with a plugin, if so can someone then help me with that? I'm thinking of creating a Screenshot plugin which first minimizes PDN and then the user can take a screenshot with a chosen mode.

Thanks in advance.

CookiesSigPDN2.png
Link to comment
Share on other sites

No, you shouldn't be doing anything to the Paint.NET UI.

Effect plugins are for rendering content to a layer. FileType plugins are for bringing in content from a stream.

When you try to go outside these boundaries you introduce side effects that may cause Paint.NET to get confused, or users to get confused. Or if your error handling isn't perfect, things can crash or do other stuff. You also make it much more difficult for me going forward to ensure compatibility with your plugin. You may have something that works with whatever the latest version is, but you have no guarantee that later versions of Paint.NET will respond to what you're doing (or that it'll respond correctly, or that it'll respond to the restore command, etc). If you do stuff like this, I'm much more likely to just block your plugin from loading than I am to ensure it still works in the next version.

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

No, you shouldn't be doing anything to the Paint.NET UI.

Effect plugins are for rendering content to a layer. FileType plugins are for bringing in content from a stream.

When you try to go outside these boundaries you introduce side effects that may cause Paint.NET to get confused, or users to get confused. Or if your error handling isn't perfect, things can crash or do other stuff. You also make it much more difficult for me going forward to ensure compatibility with your plugin. You may have something that works with whatever the latest version is, but you have no guarantee that later versions of Paint.NET will respond to what you're doing (or that it'll respond correctly, or that it'll respond to the restore command, etc). If you do stuff like this, I'm much more likely to just block your plugin from loading than I am to ensure it still works in the next version.

Ok, thought so, just asked to be sure

CookiesSigPDN2.png
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.

×
×
  • Create New...