PLEASE HELP!!! This just happened to me in paint.net 4.1.5. I last saved the .pdn 2/19. Hadn't made any significant changes. Then today 2/21, I get the error with the following details:
Application version: paint.net 4.1.5
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at PaintDotNet.IO.StreamExtensions.ProperRead(Stream input, Byte buffer, Int32 offset, Int32 count) in D:\src\pdn\src\Base\IO\StreamExtensions.cs:line 131
at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\src\Data\Document.cs:line 1393
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
Does this mean anything to ya'll? I clearly don't want to lose this file! Days of work and at least 6 layers. 10 if you can't the ones I've merged down.
NOTE: The file is now 4kb