Hi folks, I got a basic issue where I really can't find an answer ... I just want to use draw a bitmap on my canvas, while replacing a given color (say, the blue one) by nothing else: In short, any other pixels on my canvas should not be erased by the blue color
Short example: Bitmap icon = BitmapFactory.decodeResources(getResources(), R.drawable.icon); // an icon (without alpha channel) with some blue pixels !! Bitmap myBuffer = new Bitmap(100, 100, ARGB_8888); Canvas myCanvas = new Canvas(myBuffer); Paint paint = new Paint(); myCanvas.drawBitmap(icon, 0, 0, paint); // here I don't want the blue color contained in the icon bitmap to be painted ! Thanks, Arnaud -- 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

