Jer Brand wrote:
Uncompressed, yeah, that'd be ugly. But how does something like the
following (guesswork code) perform?

foo:BitmapData = new BitmapData() ;
/* put your image data in there, with whatever method */

bar:ByteArray = foo.getPixels(myImageRect) ;
var.compress() ;

Again, mostly asking because I don't know enough about AS3/FP9. It's
supposed to be using zlib compression on the ByteArray but for all I know
it's still doesn't compress enough or quickly enough to be useful. I'm
totally leaving out the question of conversion after post or Socket or
whatever used server side to get the job done, but I have to assume it
wouldn't be difficult using GD or ImageMagic.
Well, it might be easier in Actionscript 3.0. I know that in 2.0 it was a major pain, even with gzip compression... I know Grant Skinner got it working, you might want to check out this blog entry: http://www.gskinner.com/blog/archives/2006/03/saving_bitmapda.html ... and this attempted util: http://www.quasimondo.com/archives/000572.php

I've researched this problem before, and came to the conclusion that it was a last resort at best. But try out Klingermann's demo on Quasimondo and see how fast it runs for you. On some computers or connections it is very slow indeed. You may be able to optimize it, though -- if you try and succeed, please give back by posting it somewhere or open-sourcing it on a well-known site like osflash.org. If you aren't discouraged after all I've said, I wish you luck!

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