Jump to content

Crash on loading a .tif file


Recommended Posts

I have  1.7Gb .tif file which on attempting to load throws the error stack below. Is this a file size error (i.e. not enough memory)?

 

Help appreciated please

 

Thanks

 

Martin

 

 

 

 

Application version: paint.net 4.2.1

PaintDotNet.Imaging.ComponentNotFoundException (0x88982F50): D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp (903) : 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)
   at PaintDotNet.SystemLayer.Native.x64.Imaging.WICImagingFactory.CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions, Nullable`1 containerFormat, Nullable`1 preferredVendor)
   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.TiffFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\TiffFileType.cs:line 51
   at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 482
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

Link to comment
Share on other sites

4 hours ago, MartinClayden said:

PaintDotNet.Imaging.ComponentNotFoundException (0x88982F50)

 

That error indicates the WIC does not recognize the file format.

It may be that the file uses an unsupported TIFF version, or is some other format masquerading as a .tif file.

  • Like 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...