Blur images in Windows Runtime C# using WriteableBitmapEx -


i trying blur image in new windows phone runtime c# app (wprt) used writeablebitmapex nuget , code make image blured can't see changes in picture . what's going wrong guys ?

public testxaml()     {         this.initializecomponent();         ....         test();     } async void test()     {         var imgfile = await windows.storage.storagefile.getfilefromapplicationuriasync(new uri("ms-appx:///assets/testbg.jpg"));         var wb = new writeablebitmap(100,100);         using (var strm = await imgfile.openreadasync())         {             wb = await wb.fromstream(strm);         }         var wb3 = writeablebitmapextensions.convolute(wb, writeablebitmapextensions.kernelgaussianblur5x5);          imagebrush ib = new imagebrush();         ib.imagesource = wb3;         pagebackground.background = ib;     } 

also tried writeablebitmapextensions.kernelgaussianblur3x3 still no change


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -