Windows error 0x88982F61, -2003292319

Detailed Error Information

WINCODEC_ERR_BADHEADER[1]

MessageThe image header 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 Code12129 (0x2f61)

Questions

5votes
3answers

The image header is unrecognized. (Exception from HRESULT: 0x88982F61) in Windows Phone 8 application

Here is my code... public async Task SetLargeImageAsync(byte[] imageBytes, bool storeBytesInObject = false) { var tcs = new TaskCompletionSource<string>(); SmartDispatcher.BeginInvoke(() => { using (MemoryStream ms = new MemoryStream(imageBytes)) { if (storeBytesInObject) this.LargeImageBytes = imageBytes; BitmapImage image = new BitmapImage(); image.SetSource(ms); this.LargeImage = image; tcs.SetResult(string.Empty); } }); await tcs.Task; } I [...] read more
image
windows-phone-8
2votes
1answer

How do I store arbitrary binary data in a binary serialized class?

Using C#/.NET for my application, I've got a series of classes in my main data model that represent "binary" (as opposed to text) content. I've got a inheritance setup like this: alt text [https://i.stack.imgur.com/UGWBt.jpg] Basically, the abstract class BinaryContent contains a MemoryStream that stores arbitrary binary data. That data is [...] read more
c#
exception
serialization
binary-data
memorystream
1vote
1answer

IWICDdsDecoder fails to load Cube maps

I created a Texture Cube with NVidia's Texture Exporter Tool but I cannot load it with IWICDdsDecoder. It fails with 0x88982f61 : The image header is unrecognized.. On the other hand, normal 2D textures (Dimension = WICDdsTexture2D) created with NVTET load correctly and work well. Does IWICDdsLoader support Cube Maps [...] read more
textures
direct3d11
wic
dds-format
1vote
0answers

Windows 8 C# - thumbnails from iPhone

I am working on an application for working with photos for Windows 8 Metro on C#. And now I'm faced with a strange problem. First, I select the file over PickSingleFileAsync, then trying to get a thumbnail via GetThumbnailAsync: FileOpenPicker openPicker = new FileOpenPicker (); openPicker.ViewMode = PickerViewMode.Thumbnail; openPicker.SuggestedStartLocation = [...] read more
c#
iphone
windows-8
microsoft-metro
thumbnails
0votes
1answer

WIC WINCODEC_ERR_BADHEADER only for JPEG images

I have a simple encoding/ decoding application using Windows Imaging Component API. The issue I'm having is that when I use either the JPEGXR or BMP formats, everything works fine. However, when I use the JPEG codec - the encoder works fine and I can visually verify the generated JPEG [...] read more
c++
jpeg
codec
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