Windows phone 7 使用WP快速调整图像大小并将Blob上载到windows azure

Windows phone 7 使用WP快速调整图像大小并将Blob上载到windows azure,windows-phone-7,azure,azure-storage-blobs,blobstorage,Windows Phone 7,Azure,Azure Storage Blobs,Blobstorage,我正在尝试构建一个windows phone应用程序,以便将图像上载到azure存储。我目前正在使用nuget软件包-适用于Windows Phone的Windows Azure存储客户端库和示例代码来上载图像,但图像上载需要花费很长时间。在上传图片之前,我已经调整了图片的大小。但是,我需要将图像转换为位图,然后才能调整其大小,之后我不知道如何将其更改回photostream以上载到azure using System.Windows.Media.Imaging; //Initialize a

我正在尝试构建一个windows phone应用程序,以便将图像上载到azure存储。我目前正在使用nuget软件包-适用于Windows Phone的Windows Azure存储客户端库和示例代码来上载图像,但图像上载需要花费很长时间。在上传图片之前,我已经调整了图片的大小。但是,我需要将图像转换为位图,然后才能调整其大小,之后我不知道如何将其更改回photostream以上载到azure

using System.Windows.Media.Imaging;

//Initialize and load your image.
var myImage = new WriteableBitmap();
int newWidth, newHeight;
var resizedImage = myImage.ResizeBicubic(newWidth, newHeight);
我如何调整图像大小并将其上载到Microsoft azure?是否有其他方法加快上载过程