Jump to content

Can Adjustments or Effects be called programmatically in C#


Recommended Posts

I will look at the Plug In Tutorial when I get off work, that might answer some of my questions, but I frequently have to perform the same task over and over (Example resize a set of images from a large size to a small size) or other adjustments such as resolution or to sharpen them.

 

Is there an API to call any of the effects? Could a DLL or plug in be created that allowed C# code to call Paint DOT NET methods?

 

Thank you for any help, I may not have enough time to create a plug in but I hate doing the same task over and over, it defeats the purpose of being a programmer.

 

 

Link to comment
Share on other sites

I will look at the Plug In Tutorial when I get off work, that might answer some of my questions, but I frequently have to perform the same task over and over

Start here: http://boltbait.com/pdn/CodeLab/help/

(Example resize a set of images from a large size to a small size) or other adjustments such as resolution

Plugins can't do those things. Here are the limitations of Paint.NET plugins: http://forums.getpaint.net/index.php?/topic/14566-

or to sharpen them.

THAT you can do in a plugin.

Is there an API to call any of the effects? Could a DLL or plug in be created that allowed C# code to call Paint DOT NET methods?

Paint.NET is not designed to be called this way.

 

Thank you for any help, I may not have enough time to create a plug in but I hate doing the same task over and over, it defeats the purpose of being a programmer.

You're welcome.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Thanks for all your answers, I really wish you would reconsider the "Paint.Net is not designed this way";

 

It is very easy to create an API from any code and than expose any methods to the public; Thanks to your answer I now know a plug in will not work, so I give up, but calling methods would be easy for a public API, then I can write my own repeat methods so the tool can be extended.

 

I still like the program, but if you can't extend it is only as good as you can make it.

 

The price is right though.

Edited by DataJuggler
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.

 Share

×
×
  • Create New...