You may want to wait for AS3.  At
www.kaourantin.net/2005/10/png-encoder-in-as3.html, you will find a PNG
encoder that one of the Flash Player programmers wrote.  He's also got a JPG
encoder.  Both are written in AS3, because the performance would be too slow
in AS2.

At www.gskinner.com/blog/archives/2006/03/saving_bitmapda.html, Grant
Skinner has posted his AS2 solution.  To get around the performance issues,
his solution works with small images.

Also take a look at www.quasimondo.com/archives/000572.php.

AS3 has native support for ZLIB compression, which will make these kinds of
tasks easier.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rifled
Cloaca
Sent: Thursday, May 04, 2006 12:04 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Export Bitmap Data at runtime

Flashcoders,

With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or
compress it somehow to send it back to the server as a bitmap at runtime?  I
imagine you could send it as raw bitmap data, but it would be quite large.

Thanks!
-g
_______________________________________________
[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


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