Jump to content

image saved incorrectly (?)


Recommended Posts

I went to save an image in PNG format, but I cant seem to open it again in paint.net or on my computer's image viewing program. It did not ask me to flatten the image and I saved over an existing file. These are the error details that showed up

Quote

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
   at PaintDotNet.Data.PngFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\PngFileType.cs:line 114
   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

Is there a way that I can recover this image? 

Link to comment
Share on other sites

Maybe you saved it as a .PDN file with the extension of .PNG?

 

Change the extension and see if it will load.

 

If that doesn't work, try this plugin: https://forums.getpaint.net/topic/31715-whats-it-tools-effect-plugin/

 

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

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.

 Share

×
×
  • Create New...