I have an image source behind IImageProvider interface, and I'm trying to access its pixels.
There is a method inside IImageProvider: imageProvider.GetBitmapAsync(bitmapToFill)
- I can't get WriteableBitmap because I'm running on a non UI thread. I can't instantiate one empty WriteableBitmap to write to which is unfortunate because I can access pixels from it..
- I can fill a Bitmap object with the data, but there is no way to access its pixels on Windows Phone (it is missing system.drawing...)
How can I access individual pixels of the source behind IImageProvider?
Have you tried this?
and so on
imageSource is your IImageProvider, I tested it with BufferImageSource.