Yes. That's what I ended up going with and it is a LOT faster. Probably fast enough for what I need.
On Mar 4, 6:32 pm, gjs <[email protected]> wrote: > 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 <[email protected]> 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 [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

