Thanks Greg, I saw that.

There is no ImageView.  It's straight canvas and bitmaps, no
Drawables, no Views.
I may change that... The pixels to change could be one of several
bitmaps in an ImageView.  I don't know if the ImageView ColorFilter
call will work in this case.  The bitmap I want to change is on top of
another bitmap (background) that I do not want to fliter.

On Jul 23, 9:19 pm, greg <[email protected]> wrote:
> Isn't your canvas associated with an ImageView?  (ImageView has a
> setColorFilter() method.)
>
> On Jul 23, 1:31 pm, Beth <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > In my code there is a canvas drawing a bitmap created from a resource
> > png.  It is not a Drawable.  If I want to take that bitmap and tint
> > it, is there something similar to setColorFilter in the graphics
> > package that I can use on the canvas and bitmap object?  To be clear,
> > my goal is to change the brown pixels of my bitmap to blue, or from
> > white to red.  Do you all have any suggestions?
>
> > Regards,
> > Beth

-- 
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