safeer0346 0 Report post Posted September 9, 2018 Hello everyone ! I am really stressed out about this, recently i made a project which took me several hours and as i saved the paint.net project in PDN format, i realized i wanted a PNG of it as well, when i tried to save it again, i choose PNG as my format from the dropbox and then clicked on that PDN file and accidentally clicked on over writting it as i was tired after working for hours and then i tried to find my PNG, there was no any, only a PDN file which i tried to open came out to be currupted and gave this error. Quote System.FormatException: file is not a valid paint.net document at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\src\Data\Document.cs:line 1330 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158 can you guys please help me ! I tried a recovery software and it worked perfectly file and my image was recovered but it had a HUGE watermark because that was a trial version, i dont earn money myself, i am a student, i really cannot afford high priced software and its not like i did not saved my project or recovering a deleted one, its the error of the software so please help me out ! Share this post Link to post Share on other sites
toe_head2001 1,281 Report post Posted September 9, 2018 I've heard great things about EaseUS products. However, I've never had to use any of them myself, so I can't speak from personal experience. https://www.easeus.com/datarecoverywizard/free-data-recovery-software.htm Some more to look at: https://www.lifewire.com/free-data-recovery-software-tools-2622893 Beyond that, there's really nothing we can do for you. Share this post Link to post Share on other sites
safeer0346 0 Report post Posted September 9, 2018 1 minute ago, toe_head2001 said: I've heard great things about EaseUS products. However, I've never had to use any of them myself, so I can't speak from personal experience. https://www.easeus.com/datarecoverywizard/free-data-recovery-software.htm Some more to look at: https://www.lifewire.com/free-data-recovery-software-tools-2622893 Beyond that, there's really nothing we can do for you. I am really looking for free software or a free way to recover my data ! I literally cannot afford these expensive software ! Share this post Link to post Share on other sites
toe_head2001 1,281 Report post Posted September 9, 2018 1 minute ago, safeer0346 said: I literally cannot afford these expensive software ! Please actually read my post in full (including visiting the links provided) before replying. Thanks. Share this post Link to post Share on other sites
safeer0346 0 Report post Posted September 9, 2018 5 minutes ago, toe_head2001 said: Please actually read my post in full (including visiting the links provided) before replying. Thanks. Your post contains file recovery programs which actually recovers something deleted, thats not my case, i already have the file but unable to view it because its currupted and gives me error stated in my post. I want to recover that and keep my currupted image. Share this post Link to post Share on other sites
MJW 974 Report post Posted September 9, 2018 Try renaming the file from .pdn to .png. You may have saved a PNG-formatted file with a PDN extension. That may recover the PNG version. If it does, recovering the original PDN version would require the type of program toe_head2001suggests, since the actual file was overwritten. Share this post Link to post Share on other sites
SodiumEnglish 29 Report post Posted September 9, 2018 It looks like your image is not corrupted but the problem was that you overwrote the pdn file as a png -- preserving the pdn file extension. You will have to change the file extension from pdn to png and you may open the image again! However, since you overwrote it with the png version, if you had layers in your pdn file you will have lost those. You can rename the file with command prompt by cd'ing to the path the file is located and then renaming it. C:\Users\MyUsername>cd Desktop\ C:\Users\MyUsername\Desktop>rename MyImage.pdn MyImage.png 1 1 Share this post Link to post Share on other sites
safeer0346 0 Report post Posted September 10, 2018 12 hours ago, SodiumEnglish said: It looks like your image is not corrupted but the problem was that you overwrote the pdn file as a png -- preserving the pdn file extension. You will have to change the file extension from pdn to png and you may open the image again! However, since you overwrote it with the png version, if you had layers in your pdn file you will have lost those. You can rename the file with command prompt by cd'ing to the path the file is located and then renaming it. C:\Users\MyUsername>cd Desktop\ C:\Users\MyUsername\Desktop>rename MyImage.pdn MyImage.png Thanks a lot man ! I slept yesterday with regrets and now im fine ! thanks a lot, this command promt technique worked !!! Share this post Link to post Share on other sites