Blur filters only operate on the alpha channel. If you wanted to apply them
to anything else, you might consider using a ColorMatrix to juggle the
channel you want to blur into the alpha channel and then paint it - that
might work in some situations.
In any case, a single blur operation is generally only applicable to a
single channel. I'm pretty sure that Android doesn't provide any way of
applying a single blur over multiple channels (in the way that paint
packages will).
Tom.

2009/6/4 Todd <[email protected]>

>
> I've tried all the different blur styles to no avail. I guess the
> basic problem is the blur only blurs edges of a bitmap, and not the
> entire bitmap.
>
> There's probably some secret sauce to getting it to work the way I
> want, I just haven't discovered it yet.
>
> Thanks for the suggestion though.
>
> Todd
>
> On Jun 3, 9:52 am, Marco Nelissen <[email protected]> wrote:
> > Are you setting the right blur style?
> >
> > On Wed, Jun 3, 2009 at 9:30 AM, Todd <[email protected]> wrote:
> >
> > > +bump
> >
> > > On Jun 2, 11:11 am, todd <[email protected]> wrote:
> > > > I can't seem to get the BlurMaskFilter to work the way I want. When I
> > > > set a BlurMaskFilter as part of my Paint object and then draw a
> bitmap
> > > > only the edges of the bitmap are blurred. Is there some secret way of
> > > > blurring the entire bitmap?
> >
> > > > I noticed there's not really any sample code in the demo app or
> > > > anywhere else on the web that I can find and the java docs for this
> > > > class are sparse to say the least.
> >
> > > > Anyone?
> >
> > > > Todd
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to