How to use WriteableBitmapExtension library to blu

2019-08-27 11:28发布

This seems not working?

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

1条回答
老娘就宠你
2楼-- · 2019-08-27 12:11

Try:

WriteableBitmap wb = new WriteableBitmap(albumArtImage);
var wb2 = WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur5x5);
AlbumBackground.ImageSource = wb2;
查看更多
登录 后发表回答