Windows error 0x88982F81, -2003292287

Detailed Error Information

WINCODEC_ERR_UNSUPPORTEDOPERATION[1]

MessageThe operation is unsupported.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

1vote
0answers

UWP BitmapEncoder SetProperties is not supported

So I'm creating a UWP app and need to write text and images to an image file and save them. I've currently created a D2D wrapper in C++ using this source and then a C# wrapper that simply lets you access the functions of the C++ class in nice C# [...] read more
c#
c++
graphics
directx
uwp
0votes
1answer

how to set up UWP C# StorageFile to store a SoftwareBitmap to a specific path

I'm trying to save a SoftwareBitmap to a file. But I get error "The parameter is incorrect" when I do: StorageFile.GetFileFromPathAsync() HERE IS THE ERROR...…. enter image description here [https://i.stack.imgur.com/WYXBa.png] pathname = "diag ProcessFrame .JPG" CODE FOR EVENT HANDLER FOR WEBCAM USB FRAME...…… private void FrameReader_FrameArrived(MediaFrameReader sender, MediaFrameArrivedEventArgs args) { [...] read more
c#
uwp
storagefile
0votes
0answers

The fastest way to flush SoftwareBitmap to stream

Due to non-effective BitmapEncoder.FlushAsync() method, I want to get to know if there is other way to save SoftwareBitmap data to stream. My code (a little bit simplified solution) : using (InMemoryRandomAccessStream accessStream = new InMemoryRandomAccessStream()) { BitmapEncoder encoder = await BitmapEncoder.CreateAsync(_inputFormat, accessStream); // Set the software bitmap encoder.SetSoftwareBitmap(input); encoder.IsThumbnailGenerated [...] read more
c#
uwp
0votes
2answers

C# (MediaFrameReader API) SoftwareBitmap doesn't show

I followed Microsoft's instructions to implement MediaFrameReader API in order to process video captured by camera. The problem is I don't know why the bitmap doesn't show up in XAML, I can't save it to jpeg either (bitmap is not empty). I did convert the bitmap to proper format for [...] read more
c#
bitmap
uwp
0votes
1answer

Get a new Image by cropping

I'm trying to convert my cropped image (and/or Grid) to new Normal Image , but it returns as it cropped , in same position, how to fix it, there is how works my program after cropping enter image description here [https://i.stack.imgur.com/3VnML.png] private async void Save(object sender, RoutedEventArgs e) { RenderTargetBitmap [...] read more
c#
uwp
crop
0votes
1answer

UWP Create dynamic rectangle

I'm new in UWP and my first Task is crop imagine, now I'm trying to find how can I create a dynamic rectangle to crop imagine p.s. I'm sorry for the bad grammar. My program must have button to open the file, then on the screen must be dynamic rectangle [...] read more
c#
xaml
uwp
0votes
1answer

resize image before upload via background transfer in winjs

I would like to resize an image picked from the gallery of the phone before uploading it via background transfer so far I have:- filePicker.pickSingleFileAsync().then(function (file) { uploadSingleFileAsync(uri, file); }).done(null, displayException); function uploadSingleFileAsync(uri, file) { if (!file) { displayError("Error: No file selected."); return; } return file.getBasicPropertiesAsync().then(function (properties) { if (properties.size [...] read more
javascript
windows-phone-8.1
winjs
win-universal-app
background-transfer

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