Jump to content

Paint.net API usage from C#


Recommended Posts

Hi,

 

do I have any possibility to use paint.net APIs from C# code?

I would like to do the following operations:

 - create *.pdn (layered) image from my representation,

 - edit *.pdn file with paint.net,

 - read the modified *.pdn image and transform back to my representation.

 

Balint

Link to comment
Share on other sites

2 hours ago, balintvilt said:

do I have any possibility to use paint.net APIs from C# code?

I would like to do the following operations:

 - create *.pdn (layered) image from my representation,

 - edit *.pdn file with paint.net,

 - read the modified *.pdn image and transform back to my representation.

 

You cannot use the Paint.NET API to create PDN files from C#, but you could write a FileType plugin for your custom format that allows Paint.NET to load and save it.

  • Upvote 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

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