views:

222

answers:

1

Hi everybody ,

I want to convert bitmap data to an image file like jpg or png file in AS3 can anyone help me?

Thanks in advance ;

+3  A: 

as3corelib (available at http://code.google.com/p/as3corelib/) comes with JPGEncoder and PNGEncoder classes!

Lowgain
alternatively you can use Alchemy with libpng or libjpeg for faster speeds, but unless this is time critical stuff as3corelib should be more than enough.
jonathanasdf
Thanks @Lowgain for your help it works nice now with as3corelib :)
Moghram