Does the BlurMaskFilter works?I am trying to blur a greyscale image
captured by the camera using BlurMaskFilter...
Bitmap bm=Bitmap.createBitmap(bm.getWidth(),bm.getHeight
(),Bitmap.Config.ARGB_8888);
Canvas c=new Canvas(bm);
Paint p=new Paint();
p.setMaskFilter(new BlurMaskFilter
(radius,BlurMaskFilter.Blur.NORMAL));
p.setFilterBitmap(true);
c.drawBitmap(bm,0,0,p);
the image does not appear to be blurred?
Do I need to design my own filter for blurring?
Thanks,
Sharmila
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to