Like in the title. How to convert BitmapeImage to byte in metro style app. Ther is no System.drawing lib. I need it to use in LuminanaceSource() which need source in byte[]. Have some example, but i dont know how to use it.
BitmapImage bmpImage = new BitmapImage(new Uri(file.Path));
var encoderId = Windows.Graphics.Imaging.BitmapEncoder.JpegEncoderId;
Thanks