I'm trying to send a picture from my Windows Phone to a WCF service, which needs a System.Drawing.Bitmap. I however, am not able to take the BitmapImage from my phone, and get a Bitmap on the WCF service. I'm doing this in C#.
I've tried making the BitmapImage into a byte[], sending it over the WCF, and converting it back to a BitmapImage, and then converting that to a Bitmap. I can get the size of the BitmapImage, but the data in the image is empty. Any clues to what could go wrong?
How do I do this?