它在WriteableBitmap上渲染uiElement,保存位图并返回文件名。这个方法是在windows phone后台任务代理中运行的,我遇到了内存限制。private string CreateLiveTileImage(Canvas uiElement, int width, int heigth) var wbmp = new WriteableBitmap= new WriteableBitmap(rectangle, rectangle.RenderTransform);
rectangle = null;
我正在开发一个windows存储应用程序,在将flipView绑定到ObservableCollection<WriteableBitmap>方面需要帮助。> _bitMapCollection = new ObservableCollection<WriteableBitmap>();
public ObservableCollection<WriteableBitmapphotoWriteableBitMap = await new WriteableBitmap(1, 1).Fr
由于图像闪烁,我使用了WriteableBitmap。我有三个缩放因子的图像。但是GetFileFromApplicationUriAsync总是以最高的缩放因子读取图像,而且移动设备上的图像太大。这是我的代码: {
var file = await= new WriteableBitmap(bitmapImage.PixelHeight, bitmapImage.PixelWid