Zlotz Posted July 15, 2014 Share Posted July 15, 2014 Hey everyone. I really need help. I need this file! So I was working on something big and I saved it. Then I wanted to continue so I opened the .pdn file and I got this message: I have no idea what this is but I can't open the file anymore and that's a big problem. I really need help. Here's the error log: System.FormatException: file is not a valid paint.net document at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\paintdotnet\src\Data\Document.cs:line 1353 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\paintdotnet\src\Data\FileType.cs:line 459 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 156 Thank you. Quote Link to comment Share on other sites More sharing options...
midora Posted July 15, 2014 Share Posted July 15, 2014 You may have saved the file in png or jpg format but used the extension .pdn. So try to change the extension of the file from .pdn to .png and open it again. Quote Link to comment Share on other sites More sharing options...
Zlotz Posted July 15, 2014 Author Share Posted July 15, 2014 You may have saved the file in png or jpg format but used the extension .pdn. So try to change the extension of the file from .pdn to .png and open it again. It says in the properties that it's .pdn and I tried to add the extension in the file name but it doesn't work... Quote Link to comment Share on other sites More sharing options...
midora Posted July 15, 2014 Share Posted July 15, 2014 It says in the properties that it's .pdn and I tried to add the extension in the file name but it doesn't work... The properties just tell you the file extension but not the file content. If you are able and willing to upload the file somewhere we may have a look. Quote Link to comment Share on other sites More sharing options...
Zlotz Posted July 15, 2014 Author Share Posted July 15, 2014 The properties just tell you the file extension but not the file content. If you are able and willing to upload the file somewhere we may have a look. There you go. http://speedy.sh/ec8SY/Jona.pdn Quote Link to comment Share on other sites More sharing options...
midora Posted July 15, 2014 Share Posted July 15, 2014 The file is in png format. After changing the extension it opens w/o issues in Paint.NET. Quote Link to comment Share on other sites More sharing options...
Zlotz Posted July 15, 2014 Author Share Posted July 15, 2014 The file is in png format. After changing the extension it opens w/o issues in Paint.NET. Jona.jpg But how do you change the extension exactly? Quote Link to comment Share on other sites More sharing options...
midora Posted July 15, 2014 Share Posted July 15, 2014 But how do you change the extension exactly? You have to do it in Windows Explorer. Open the context ment of the file and select rename. Then change the extension from .pdn to .png. Quote Link to comment Share on other sites More sharing options...
Zlotz Posted July 15, 2014 Author Share Posted July 15, 2014 You have to do it in Windows Explorer. Open the context ment of the file and select rename. Then change the extension from .pdn to .png. Ok it works but I lost all my layers and everything, that's what I needed... now it's gone. Quote Link to comment Share on other sites More sharing options...
midora Posted July 15, 2014 Share Posted July 15, 2014 Ok it works but I lost all my layers and everything, that's what I needed... now it's gone. Sorry to say, but there is nothing else you can do. Just remember next time - to avoid this kind of mistake - that the 'Save as type' defines the content of the file and not the extension. Quote Link to comment Share on other sites More sharing options...
Zlotz Posted July 15, 2014 Author Share Posted July 15, 2014 Sorry to say, but there is nothing else you can do. Just remember next time - to avoid this kind of mistake - that the 'Save as type' defines the content of the file and not the extension. Well okay then... thank you for your help. 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.