I am working on a windows Phone app that can read Album arts dynamically from Music files through MediaPlayer APIs. I wish to get album arts and resize for view's background. Since the resize would lose details and make image ugly so I would like to blur it or some kind of effect. Is there any API that I can blur the image? (either from C# or XAML)? Thanks a lot!
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- How to access the camera from my Windows Phone 8 a
- CV2 Image Error: error: (-215:Assertion failed) !s
- Replace image attributes for lazyload plugin on im
相关文章
- Use savefig in Python with string and iterative in
- Working with hmacsha256 in windows store app
- Where does this quality loss on Images come from?
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- How do I append metadata to an image in Matlab?
- WP7 Alert dialog
- Img url to dataurl using JavaScript
I would start by using WriteableBitmap instead, to get a WriteableBitmap from a BitmapImage you can do the following:
Then I would recommend using the WriteableBitmapExtension library. It has support for resizing the image:
To do the gaussian blur with WritableBitmapExtensions do the following (for some reason concolution doesn't edit the writableBitmap, so you have to assign it again to the same writableBitmap to see the result):
or
(Just different weights for the neighbouring pixels).