Windows error 0x88982F60, -2003292320

Detailed Error Information

WINCODEC_ERR_BADIMAGE[1]

MessageThe image is unrecognized.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

2votes
1answer

FileFormatException With Inner COMException Thrown By BitmapSource.CopyPixels

I have the following code: BitmapSource bitmap = _bitmapSource; if (_bitmapSource.Format != PixelFormats.Bgra32) bitmap = new FormatConvertedBitmap(_bitmapSource, PixelFormats.Bgra32, null, 0); int bytesPerPixel = (bitmap.Format.BitsPerPixel + 7) / 8; int pixelWidth = bitmap.PixelWidth; int pixelHeight = bitmap.PixelHeight; int stride = bytesPerPixel * pixelWidth; int pixelCount = pixelWidth * pixelHeight; var pixelBytes [...] read more
wpf
imaging
0votes
1answer

Decoding image from stream using WIC

I'm trying to use WIC to load images in C#, with SharpDX as a wrapper (this is a Direct2D application written in .NET). I can load my image perfectly fine by creating a BitmapDecoder like so: C# Code: new BitmapDecoder(Factory, fileName, NativeFileAccess.Read, DecodeOptions.CacheOnLoad) C++ Equivalent: hr = m_pIWICFactory->CreateDecoderFromFilename( fileName, NULL, [...] read more
c#
windows
direct2d
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