hi list -

I have extracted some pixels from a bitmapData object... can someone
tip me off how to convert this into a PNG file, or some other simple
high quality format? Ideally i dont want a complex JPG encoder in AS,
just a way to get data out that can be read by photoshop etc.

bitmap.getPixel( --x, y ).toString(16) + "|" ;

gives this in string format:

ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|
ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|ff0000|

thanks!

/dc
_______________________________________________
[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