Francesca B Posted December 11, 2019 Share Posted December 11, 2019 (edited) Impossible to open file, error message below. This is the second time something of this nature has happened in the past few weeks. Is there any way to recover the file? Please advise, I need urgent help! Application version: paint.net 4.2.8 PaintDotNet.Imaging.BadHeaderException (0x88982F61): D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp (902) : hr = m_pImagingFactory->CreateDecoderFromStream( spStream, preferredVendor.HasValue ? &NativeConversions::ToNative(preferredVendor.Value.Guid) : 0, static_cast<WICDecodeOptions>(metadataOptions), &spDecoder); at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 98 at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo) in D:\src\pdn\src\SystemLayer.Native\NativeUtilities.cpp:line 70 at PaintDotNet.SystemLayer.Native.x64.Imaging.WICImagingFactory.CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions, Nullable`1 containerFormat, Nullable`1 preferredVendor) in D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp:line 908 at PaintDotNet.Data.WicFileTypeHelpers.Load(Stream input, Nullable`1 forcedContainerFormat, Nullable`1 preferredVendor, MetadataTranscoder metadataTranscoder) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 61 at PaintDotNet.Data.JpegFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\JpegFileType.cs:line 104 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 512 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158 Edited December 11, 2019 by Francesca B Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 11, 2019 Share Posted December 11, 2019 23 minutes ago, Francesca B said: Is there any way to recover the file? You are trying to open a file as an jpeg image, but it doesn't have a valid jpeg header. Are you sure your file wasn't give an incorrect file extension? Can you open the image with another imaging program? Such as IrfanView? Please don't forget to create backups of important data. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 11, 2019 Share Posted December 11, 2019 4 hours ago, toe_head2001 said: You are trying to open a file as an jpeg image, but it doesn't have a valid jpeg header. It might even be a .PDN image, so rename it to that could help. 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.