0

这似乎不起作用?

WriteableBitmap wb = new WriteableBitmap(albumArtImage);
WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb;
4

1 回答 1

1

尝试:

WriteableBitmap wb = new WriteableBitmap(albumArtImage);
var wb2 = WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb2;
于 2012-12-22T14:45:43.213 回答