问题
This seems not working?
WriteableBitmap wb = new WriteableBitmap(albumArtImage);
WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb;
回答1:
Try:
WriteableBitmap wb = new WriteableBitmap(albumArtImage);
var wb2 = WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb2;
来源:https://stackoverflow.com/questions/14000616/how-to-use-writeablebitmapextension-library-to-blur-image-on-windows-phone