Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

New Post: FromByteArray example

$
0
0
You need to keep track of the original width and height of the byte array image data as well and initialize the WriteableBitmap with that. Otherwise the WB won't know just from the byteArray.Length what the dimension of the WB is!

WriteableBitmap wbmp = BitmapFactory.New(widht, height).FromByteArray(binary);
  • Rene

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>