[android-developers] Re: ImageView setColorFilter, what to do for a bitmap?
Isn't your canvas associated with an ImageView? (ImageView has a
setColorFilter() method.)
On Jul 23, 1:31 pm, Beth <emez...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home