Jump to content

My PDN image got corrupted


Recommended Posts

I have this 40K*30K 2.7GB image that got corrupred when saving, is it possible to recover this? My compter has 64gb of ram, yet my file it kept crashing, one crash it just never recovered. Help.

 

The file has about 3 or 4 layers. Strange thing is, I can still see the little thumbnail of the PDN file, so I assume it may be part save-able?

 

I've seen something about "irfanview" can see corrupted files?, thats what @null54 said 4 years ago. I tried it, but even their it says it's too corrupted.

 

If you have a powerful enough computer, can someone please have a look at this? https://drive.google.com/file/d/1QZGtjgqY5ivMOyk2teFzzzywuEe2NZx2/view?usp=sharing

Link to comment
Share on other sites

48 minutes ago, Cheeseman said:

I can still see the little thumbnail of the PDN file, so I assume it may be part save-able?

 

Not really. The thumbnail is stored separately from the file.

 

49 minutes ago, Cheeseman said:

is it possible to recover this?

 

Unlikely, but you could try this: Right click on the file >> Restore Previous Version.

Link to comment
Share on other sites

I was able to get it to load by using a modified version of PDN that just ignores the chunk that is corrupted. It ends up with a row of blank (transparent) at row 18,902.

 

This gave me an idea of something to add to PDN itself, something like a /ignoreCorruptPDNChunks. 

 

Let me see if I can share the file back to you somehow …

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

K try this file https://drive.google.com/file/d/1QqWnoKspjOIlGSh9loYpA0MvDkz6YIHx/view?usp=sharing

 

Let me know when you've downloaded it, although I'll remove it in a few days regardless

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

57 minutes ago, Ego Eram Reputo said:

The thumbnail is stored separately from the file.

 

btw, thumbnails for PDN files are embedded in the image header as a PNG. So only the first chunk of the file has to be valid in order to see a thumbnail for it.

 

This is why thumbnails load so fast in Explorer -- the shell extension just pulls out that tiny precomputed thumbnail. It doesn't have to load and decompress the whole PDN to generate the thumbnail.

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

  • 2 months later...

Hi @Rick Brewster! Would it be possible to incorporate this feature of ignoring corrupt chunks in some sort of update or making this PDN version that can do that available for download somehow? I have the same problem with some PDN files and I'm interested in salvaging whatever I can. Really appreciate all you do.

Link to comment
Share on other sites

5 minutes ago, Alfy said:

Would it be possible to incorporate this feature of ignoring corrupt chunks in some sort of update

 

The updated /ignoreCorruptPDNChunks parameter was included in v5.0.4.

https://forums.getpaint.net/topic/122540-paintnet-504-is-now-available/

 

  • Like 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

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