Jump to content

API?


Recommended Posts

No. Absolutely not. Paint.NET is only licensed for use as an application. Incorporating it into your own software in any form is not allowed for any reason.

Did you seriously not even read the license?

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

LOL. I'm sure I read every word of all those license agreements. :)

So, since you are the one who knows, would this be because you don't want someone making a profit off of something you are giving away?

I was thinking access to the API would open up new ways for me to incorporate a splash screen on my form or drawing up a sketch of one of our products from the AutoCad drawing.

But, if it is an Absolutely Not - then I understand why I haven't found any info on it. Don't worry - I won't try if I'm not supposed to. I'm a Developer, too.

~Joe

Avoid Sears Home Improvement (click to read why)

Link to comment
Share on other sites

No, sorry. Paint.NET isn't an imaging or rendering API. It's narrowly licensed for use as an application. If you want to know the history of my thoughts on this, check out my blog or just search for "backspaceware". For every story I tell on my blog there are 10 other cases of companies just outright stealing and reusing stuff with no regard for myself or the Paint.NET user base. There were some ripoffs that would uninstall Paint.NET as part of their install because they were too lazy/stupid to change the MSI product GUID. Their "send feedback" link in the Help menu would send e-mail to ME about THEIR bugs! etc. etc. etc. Here's a fun read about "Michael J. Hardy" (I commented on part 10 and 11 IIRC), http://youfailit.net/?p=49 . I had one poor guy e-mail me asking why I'd renamed Paint.NET and removed features ... nope, it was one of Michael J. Hardy's scams. Another story, http://blog.getpaint.net/2012/04/05/myspace-music-has-questionable-ethics/ . This is just the surface. Please don't think I'm singling you out on this.

If you're developing for Windows I recommend you look at Windows Imaging Component (WIC), which is available for XP and up. Search MSDN for IWICImagingFactory and go from there. That gets you "imaging" (loading/saving images, bitmap manipulation, some other stuff). For rendering I recommend using Direct2D and DirectWrite, which require Vista SP2. If you're on XP you might just use GDI+, which covers everything that is now accomplished with WIC, Direct2D, and DirectWrite. GDI+ is a horrible bug farm, although it works just fine for "UI rendering" (buttons, images, gradients, simple 2D stuff).

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

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