Luluter Posted May 9, 2019 Share Posted May 9, 2019 Hello, Is it possible to extract some information (the height and width in pixels, the resolution in pixels by inches, the name of the layers) without opening the .pdn file ? Is there some structure in those files like XML ? I need to do this as a batch for multiple .pdn files, without opening each one. I thank you in advance for your answers. Luluter Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 9, 2019 Share Posted May 9, 2019 Just open a PDN in a hex viewer/editor and it's pretty obvious, at least for width, height, and layer count. As for the rest ... sorry, there's no API for loading the image information/metadata without the rest of the image. 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...
Luluter Posted May 10, 2019 Author Share Posted May 10, 2019 Thanks for your answer and for this beautiful software ! 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.