I went through the listed troubleshooting steps, but I still get this error when I try to load a large PNG file.
Application version: paint.net 4.1.5
System.OverflowException: Overflow error.
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
The PNG file is the new large Hubble image of M33. It is 1.51GB, 32073x41147 on the drive.
I have 16 GB of system memory and I can create a new canvas of that size and draw on it, so I assume I should be able to load an image of that size?
Possibly the image is corrupt, but I have tried downloading it twice, and Windows was able to generate a thumbnail for it (eventually!). The half-resolution image is able to load successfully.
The image is located at http://hubblesite.org/image/4305/news_release/2019-01
Thanks for any help.