title: How can I convert a image into a byte array in uwp platform
body: <p>I need to convert an image into a byte array to store it in a database. and also I need to convert that array back to the image. I did google research but I couldn't find a solution because in <code>UWP</code> platform some api doesn't available.</p>