I'm given a large number of grayscale images in the form of byte arrays. I want to use the values in each image as an alpha mask for drawing a solid color in a Canvas. The images are fixed but the color changes. I can create Bitmap objects for each image/color combination, but that seems terribly inefficient. What would be a good way to approach this problem, in terms of both memory and speed? (I need to render each image/color combo many times.) I'd prefer a solution that works on SDK 1.5 and up.
-- 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