How to convert pixel byte array to bitmap image in windows phone 8
问题 I want to draw Image in windows phone 8 using pixel byte. so I get some pixel byte via c++ library(c++/CLI). But pixel data not include bitmap Header. It is just pixel byte array. Is this possible to convert pixel data array to bitmap Image without bitmap header in windows phone? public void updateImage(byte[] byteArray, UInt32 bufferSize, int cvtWidth, int cvtHeight) { // I saw this source a lot of search. But It's not work. It makes some exeption. BitmapImage bi = new BitmapImage();