On 7/24/06, kariminal <[EMAIL PROTECTED]> wrote:
Hi All!..

Just wondering if anyone has a script to do a mosaic blur on an image?...


- karim


There are 2 ways I can think of:
1. Easy way: draw the image onto a bitmapdata, scale it smaller
WITHOUT using smoothing, then scale it back up to the original size.
Do multiple times, but in steps, like first scale it to 50%, then 25%,
then 12.5%, etc
2. Harder way: Manually calculate the mosaic yourself (read in each
n'th pixel from source image, and draw a n-by-n rectangle in the
destination image). This will most likely be too slow in flash 8 for
any moderate sized image.

-David R
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to