Image 在wp7中使用writeableBitmap裁剪将图像分割为多个部分
我无法拍摄应用程序创建期间可用的默认图像以外的图像。我的代码是 WriteableBitmap sourceBitmap=新的WriteableBitmap(1,1); sourceBitmap=sourceBitmap.FromContent(@“Images/viewback_collection.png”) 我收到的错误为Nullreference异常。通过右键单击图像>属性>生成操作=内容,将“viewback\u collection.png”的生成操作设置为内容类型Image 在wp7中使用writeableBitmap裁剪将图像分割为多个部分,image,windows-phone-7,split,Image,Windows Phone 7,Split,我无法拍摄应用程序创建期间可用的默认图像以外的图像。我的代码是 WriteableBitmap sourceBitmap=新的WriteableBitmap(1,1); sourceBitmap=sourceBitmap.FromContent(@“Images/viewback_collection.png”) 我收到的错误为Nullreference异常。通过右键单击图像>属性>生成操作=内容,将“viewback\u collection.png”的生成操作设置为内容类型