# BitmapData - Rasterize

**URL:** <https://forum.kirupa.com/t/bitmapdata-rasterize/199273>\
**Category:** open source\
**Created:** [September 1, 2006, 3:16am UTC](https://forum.kirupa.com/t/bitmapdata-rasterize/199273 "2006-09-01T03:16:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathew\_er](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mathew\_er](https://forum.kirupa.com/u/mathew_er)\
**Post date:** [September 1, 2006, 3:16am UTC](https://forum.kirupa.com/t/bitmapdata-rasterize/199273/1 "2006-09-01T03:16:56Z")

</div>

I played a bit with one of my older script… it was for some battle which disappeared with the last site hack anyway. I updated it with some smoothing of the dots.

It takes a pixel from an image and replaces it with a dot of size depending on intensity of the pixel. Its a bit slow.

Hope, you will like it 🙂

[FLA is here](http://www.mumu.cz/tmp/raster.fla)  
[and SWF example here](http://www.mumu.cz/tmp/raster.html)  
[and this is the source image](http://www.mumu.cz/tmp/raster.jpg)
