It looks like the int values can range from -255 to 255. I was mislead, the docs has a range of values of 0 to 255.
On Feb 9, 5:06 pm, myIP <[email protected]> wrote: > How would I be able to adjust a channel (R,G or B) using > ImageView.setColorFilter by passing an instance of LightingColorFilter > in its construct? > > For an example, when I create an instance of LightingColorFilter, I > adjust the two params that are int values between 0-255. With this > instance, I then pass it into setColorFilter. The image always ends > up anywhere from being black to blue. How can I adjust the Red or > Green channel? > > LightingColorFilter lcf = new LightingColorFilter( mul, add); > imageView.setColorFilter(lcf); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

