Jump to content

Some thing happened after I change a .pdn file into Jpg.


Recommended Posts

That's the crash log

 

 

 

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

Edited by Kutti
Link to comment
Share on other sites

This is probably what happened:

 

You opened your PDN drawing.

You hit File > Save As...

You changed the name into a JPG file and hit the OK button.

 

Now you have a problem.

 

The problem here is that you didn't change the "Save as type" to match the filename.

 

SaveType.png

 

So, basically, you have a filename ending in .JPG that has a file in it in the PDN format.

Link to comment
Share on other sites

Probably he easiest solution is to:

 

Select the File>Open menu in PDN.

Navigate to the folder containing the file.

Right click on the file, and rename it to the .pdn extension.

 

You should then be able to open it. You can then save it as a JPG file by changing both the name and the file type

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