Jump to content

metadata in .pdn files

Recommended Posts


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.


Link to comment
Share on other sites

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.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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