MrOcelot Posted March 8, 2020 Posted March 8, 2020 File is specification compliant, handled correctly in another applications File contents: 00 00 0A 00 00 00 00 00 00 00 00 00 01 00 01 00 20 08 00 1F 78 E1 FF Error message: Quote Application version: paint.net версия 4.2.8 System.ArgumentOutOfRangeException: must be positive Имя параметра: value в PaintDotNet.ExceptionUtil.ThrowArgumentOutOfRangeException(String paramName, String message) в D:\src\pdn\src\Base\ExceptionUtil.cs:строка 102 в PaintDotNet.Data.BufferedBinaryReader.set_Position(Int64 value) в D:\src\pdn\src\PaintDotNet\Data\BufferedBinaryReader.cs:строка 124 в PaintDotNet.Data.TgaFileType.Tga2Footer.TryGetFooterBytes(BufferedBinaryReader reader) в D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:строка 171 в PaintDotNet.Data.TgaFileType.TryReadExtensionArea(BufferedBinaryReader reader) в D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:строка 886 в PaintDotNet.Data.TgaFileType.OnLoadImpl(BufferedBinaryReader reader) в D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:строка 800 в PaintDotNet.Data.TgaFileType.OnLoad(Stream input) в D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:строка 630 в PaintDotNet.FileType.Load(Stream input) в D:\src\pdn\src\Data\FileType.cs:строка 512 в PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) в D:\src\pdn\src\Base\Functional\Func.cs:строка 158 Quote
Rick Brewster Posted March 9, 2020 Posted March 9, 2020 Thanks for the bug report. Looks like @null54 just sent me the fix for this, so you'll see this working in the 4.2.11 update Also, you're on a relatively old version -- 4.2.8. Make sure you're installing updates Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.