Jump to content

IrfanViewr error'ing on loading PDN files with newer Paint.NET version


marasama

Recommended Posts

Have an issue with IrfanViewer 32-bit that cannot load PDN files.

- Not a Paint.NET issue, but a question that maybe I can pass information over to the IrfanViewer forum.

 

Issue is when I use Paint.NET v 4.3.7

- when I delete many layers or merge many layers, or both, IrfanViewer fails to load the PDN file.

 

Was there a change on layer from Paint.NET v4.2.13 to Paint.NET v4.3.7?

If yes, I could probably pass that information over to the IrfanViewer dev(s) to fix their plugin.

 

Thank you for your time.

Link to comment
Share on other sites

PDN3 files contain serialized .NET code.

I guess the switch to .NET5/.NET6 changed something there.

The deserializer in this plugin is not based on any .NET libraries. It's pure C code.

I'm wondering that it worked for so long. 😉

 

You may check what's happening loading the file with a paint.net release < 4.3 of paint.net or maybe add such a file zipped so if someone is interested and has enough time can have a look to the differences.

Edited by midora

midoras signature.gif

Link to comment
Share on other sites

There was no change in the file format in the code, but @midora may be onto something with the .NET 5/6 update. That may have changed some version numbers in the embedded type names, at least.

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

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