balintvilt Posted January 18, 2018 Share Posted January 18, 2018 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 Quote Link to comment Share on other sites More sharing options...
null54 Posted January 18, 2018 Share Posted January 18, 2018 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. 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint 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 More sharing options...
balintvilt Posted January 19, 2018 Author Share Posted January 19, 2018 Thank you, it is a working possiblity to my problem! Quote 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.