Jump to content

Image Wont Open


poltusi

Recommended Posts

k so

I made an image for my YT outro and saved as a .pdn file. I put it back in and took it out as a png. It still wouldn't go in my editing software because it was still a .pdn file. I tried to put it back in, and even though it's a .pdn file it won't load. I get this:

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

 

Any help?

 

Link to comment
Share on other sites

On 12/30/2017 at 6:19 PM, poltusi said:

k so

Mmm... queso. :lol:

 

On 12/30/2017 at 6:19 PM, poltusi said:

I put it back in and took it out as a png

What does that mean? Are you saying a you made a copy in the PNG format? Or did you try to somehow change the format manually?

(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

To determine exactly what format the file is, run this plugin: What's it

Link to comment
Share on other sites

14 minutes ago, toe_head2001 said:

What does that mean? Are you saying a you made a copy in the PNG format? Or did you try to somehow change the format manually?

I removed the pdn, pressed 'save as', and changed the file type to .PNG.

12 minutes ago, Ego Eram Reputo said:

To determine exactly what format the file is, run this plugin: What's it

It says '.pdn' but I'll try it just in case.

 

EDIT: It is indeed a .pdn file.

Edited by poltusi
adding on
Link to comment
Share on other sites

Changing the file extension doesn't change the format.

 

For example, renaming MyDocument.doc to MyDocument.png won't make it a PNG file.

It's still a DOC... masquerading as a PNG.

 

 

(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

Just now, toe_head2001 said:

Changing the file extension doesn't change the format.

 

^^ this.

 

Change the format back - the same way you did it in the first place. Reopen the image then use File > Save As... to specify a new file format. Select the file format from the drop down list - don't type it in!

Link to comment
Share on other sites

You will be able to AFTER you change the extension back.

Link to comment
Share on other sites

You're not making any sense....

Link to comment
Share on other sites

Poltusi, I think that people are trying to tell you that you need to change the file's extension by renaming the file (in Windows, not Paint.NET). If you save a file in PDN, but give it an extension that doesn't match the format, you won' be able to open it.

 

Right-click on the file.

Select Rename from the dropdown list.

Rename it to have the correct extension (ignore the Windows warning message).

You should now be able to open it.

 

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