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.

Anyone used this?

On 8/21/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
>
> Jer Brand wrote:
> > Coming from someone who's never done this, and doesn't know if it's
> > possible, but:
> >
> > Would it be possible to capture your user created design in BitmapData
> (I
> > was fairly sure there's a method to extract pixel info from a MovieClip,
> > correct?) then transmit that back to the server and use PHP and the
> image
> > libs to create a bitmap image?
> >
> > Again, complete shot in the dark here.. I'm not even sure if the BD
> produced
> > by Flash is usable by any graphics library, PHP or otherwise.
> >
> Yes, technically, but transmitting that much bitmap data from Flash to
> the server, pixel by pixel, takes a great deal of time and bandwidth. I
> strongly recommend against the attempt.
>
> _______________________________________________
> [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