Hi, Did you try the array version of setPixels() rather than the single pixel method ? Array version is much faster.
Regards On Mar 3, 6:56 am, darrinps <darri...@gmail.com> wrote: > I have a bitmap and want to be able to change all black pixels to all > blue. I know you can do this via Bitmap.setPixel but that process is > extremely slow (believe me, I tried it). > > Researching this is see where people recommend using PorterDuff Xor, > but there isn't any posts on how this was successfully done. Lots of > people asking...no one spelling out the answer. > > So using, paint, bitmap, and canvas, how do you change every black > pixel to all blue ones? > > Thanks! -- 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