原文:将byte[]转为WriteableBitmap对象 //convert the bytes to WriteableBitmap privateWriteableBitmap BytesToImage(byte[] src, int lw, int lh) { WriteableBitmap wbbitmap = newWriteableBitmap(lw, lh); Stream s = wbbitmap.PixelBuffer.AsStream(); s.Seek(0, SeekOr…