Windows error 0x88982F8E, -2003292274

Detailed Error Information

WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE[1]

MessageThe bitmap property type is unexpected.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)true
FacilityCode2200 (0x898)
NameFACILITY_WINCODEC_DWRITE_DWM[1]
Error Code12174 (0x2f8e)

Questions

2votes
1answer

How to create a lossless jpg using WIC in Delphi

I have the following code working to create a jpg file out of a IWICBitmapSource with defaults options: function SaveWICBitmapToJpgFile(WICFactory: IWICImagingFactory; WICBitmap: IWICBitmapSource; SrcRect: TRect; FileName: string): HRESULT; var hr: HRESULT; Encoder: IWICBitmapEncoder; Frame: IWICBitmapFrameEncode; PropBag: IPropertyBag2; S: IWICStream; PixelFormatGUID: WICPixelFormatGUID; R: WICRect; begin hr := WICFactory.CreateStream(S); if Succeeded(hr) then [...] read more
delphi
wic
1vote
1answer

which filter for encoding a png interlaced using windows imaging components (wic) with the c# wrapper?

I'm trying to encode an image as an interlaced png using WIC. I can save the image as png without any problems and set the interlaced mode. But if i try to set a filtermode (any filter), i get the following error: [System.Runtime.InteropServices.COMException] = {"The bitmap property type is unexpected. [...] read more
c#
wic

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0