AS3:How to change a colored Bitmap's BitmapData to black and white ?

Posted by yens resmann on Stack Overflow See other posts from Stack Overflow or by yens resmann
Published on 2009-07-08T15:38:52Z Indexed on 2010/05/04 7:58 UTC
Read the original article Hit count: 281

Filed under:
|
|

How can I change the bitmapdata of a coloured Bitmap to Black and White in AS3 ? I'm developing a simple image editor tool for a CMS in flash.

People should be able to switch the colour of the uploaded Bitmap to black and white. I want the bitmapdata itself to change So I can write it to a ByteArray with Adobe's JPGEncoder Class afterwards.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about bitmapdata