A bit stuck on creating a new image

Doug Lerner doug at webcrossing.com
Sun Jan 25 10:54:36 EST 2004


On 1/26/04 12:16 AM, "Klaus Major" <klaus at major-k.de> wrote:

> Hi Doug,
> 
>> Whew! It took forever to figure out, but I finally stumbled across the
>> right
>> combination of image compression, base64 encoding and required
>> properties
>> that need to be communicated over the socket and it seems to be
>> working.
>> 
>> I was surprised that I was able to get this to work, though, with just
>> the
>> paintCompression and imageData properties, and that that value of the
>> image
>> itself was not required. That seems a bit counter-intuitive.
> 
> Have you tried to "compress" (see the index) the imagedata before
> sending?
> Instead of base64 encoding...
> 
> Might reduce filesize/transfertime...
> 
> Just a thought :-)

It seems risky because you can run into crlf's in the data, which I am
trying to avoid.

doug




More information about the use-livecode mailing list