Jump to content

Tutorials for creating a pdn file


nick5454

Recommended Posts

Hello,

 

I want to create a Paint.net file (pdn) outside of Paint.net and create 3 layers, then draw on them separately.

 

Can anyone link me tutorials and hints to do this in Visual Studio? I don't know which class to use to create the actual file outside of paint.net in my own winforms application.

 

Any help is appreciated.

Link to comment
Share on other sites

.pdn is the internal file format of Paint.NET. There is no API or documentation.

You may create a .psd file if you like to create a layered file format.

midoras signature.gif

Link to comment
Share on other sites

Paint.NET's license does not permit using its DLLs in your application. This is absolutely prohibited. You may not do this.

 

(Does no one read licenses?!)

  • Upvote 1

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

Paint.NET's license does not permit using its DLLs in your application. This is absolutely prohibited. You may not do this.

 

(Does no one read licenses?!)

 

Ok, well I have not actually used the dll's. Is there a non-psd file format that I can create layers in, so that when the file is opened paint.net will recognize the layers?

 

Or is it ok to create my own file format and then, in turn create a paint.net add in that would read the file and create a layered drawing? I don't believe that would violate the license agreement. Is this possible? I'm only trying to create a 3 layer file for use with an effect add in, so the user doesn't have to create the layers themselves.I can do it inside paint.net addins, assuming I can hook to an event and modify the file from within paint.net under a plug-in.

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