getPixle and store it in ByteArray,
than ByteArray.compress() and sent it back down the socket wire.
On 10/26/05, Grant Cox <[EMAIL PROTECTED]
> wrote:
First, apologies if replying to the digest like this messes things up.
Basically as Tim K mentioned, just get the BitmapData pixels, and send
to the server. However, as the uncompressed pixels will use a lot of
bandwidth, you will want to look into various methods of compressing the
image data before sending. There was a decent discussion of this on
Quasimondo recently ( http://www.quasimondo.com/archives/000572.php ),
where sample code for RGB-YCC colour space conversion was provided, as
was code for LZW compression and binary data packing into floating point
numbers (a little more efficient than Base64 string packing).
Regards,
Grant Cox
[EMAIL PROTECTED] wrote:
>
> ------------------------------------------------------------------------
>
> Subject:
> [osflash] Flash8 and upoad of bitmaps
> From:
> " Rebol.Flash" <[EMAIL PROTECTED]>
> Date:
> Wed, 26 Oct 2005 02:04:09 +0200
> To:
> [email protected]
>
> To:
> [email protected]
>
> Content-Transfer-Encoding:
> 7bit
> Precedence:
> list
> Reply-To:
> "Rebol.Flash " <[EMAIL PROTECTED]>, Open Source Flash Mailing List
> <[email protected]>
> Message-ID:
> < [EMAIL PROTECTED]>
> Content-Type:
> text/plain; charset=us-ascii
> MIME-Version:
> 1.0
> Message:
> 6
>
>
>Hello osflash,
>
> Just want to ask here if someone don't know if it's possible to
> upload somehow bitmaps which I create on the client side back to
> server.
>
> Thanks a lot,
> Oldes
> http://box.lebeda.ws/~hmm/
>
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
