Cad1959 Posted June 22, 2019 Share Posted June 22, 2019 I received some .PDN Files and when I tried to open them in Paint.Net I got this message There was an error opening this file and when I went to see the details it said this Application version: paint.net 4.1.6 System.FormatException: bad TGA header at PaintDotNet.Data.TgaFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 376 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 How can I fix this file so I can open it? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted June 22, 2019 Share Posted June 22, 2019 Wait... are these .pdn files or .tga files? I assume .tga. If you're willing to use a Beta release, Paint.NET v4.2 has improved TGA support. It might help open the images. https://forums.getpaint.net/topic/114544-paintnet-42-beta-build-7111/ Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 22, 2019 Share Posted June 22, 2019 If you can't open it with the 4.2 Beta, then attach the image here and we'll look into it. @null54 will be interested as well, he improved a bunch of TGA handling in 4.2. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
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.