这似乎不起作用?
WriteableBitmap wb = new WriteableBitmap(albumArtImage);
WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb;
答案 0 :(得分:1)
尝试:
WriteableBitmap wb = new WriteableBitmap(albumArtImage);
var wb2 = WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb2;