nick5454 Posted March 13, 2013 Share Posted March 13, 2013 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. Quote Link to comment Share on other sites More sharing options...
midora Posted March 13, 2013 Share Posted March 13, 2013 .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. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 13, 2013 Share Posted March 13, 2013 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?!) 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
nick5454 Posted March 13, 2013 Author Share Posted March 13, 2013 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. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 13, 2013 Share Posted March 13, 2013 If you want to make your own file type add-in that supports layers, that's perfectly fine. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.