I need to resize a BitmapImage to 50x50 before uploading it to my server. How do I do this on Windows Phone 7 with Silverlight C# .NET on the latest SDK 7.5?
Try this
WriteableBitmap wBitmap = new WriteableBitmap(yourBitmapImage); MemoryStream ms = new MemoryStream(); wBitmap.SaveJpeg(ms, 50, 50, 0, 100);
The stream will contain your resized image