hello Muzak, thanks for the links. They made me think that what makes the pixelize effect so slow are the division need to get the middle value of r, g and b components of the color. I guess I will stay with the "scaling bitmaps" solution.
best regards, andrei On Fri, Mar 7, 2008 at 12:23 PM, Muzak <[EMAIL PROTECTED]> wrote: > Also have a look at some of these: > http://www.zeropointnine.com/blog/actionscript-halftone-effect > http://www.zeropointnine.com/blog/bitmap-pixel-dissolve > > regards, > Muzak > > ----- Original Message ----- > From: "Andrei Thomaz" <[EMAIL PROTECTED]> > To: "Flash Coders List" <[email protected]> > Sent: Friday, March 07, 2008 2:31 PM > Subject: [Flashcoders] pixelizing a bitmap > > > > hello list, > > > > I am making some tests to discover if it is possibile to pixelize a > bitmap > > with AS3, with a reasonable speed. I wrote the code below, but it works > only > > with images until 50x50 (in a quadcore). You can see the effect > > http://www.andreithomaz.com/labs/files/pixel/teste1.html. > > > > I would like to ask you for advices about how I could optimize it. Or if > I > > just should try Java/C++. > > > > > > thank you, > > andrei > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

