image transfer not working again...

Doug Lerner doug at webcrossing.com
Sun Jan 25 23:16:53 EST 2004


And now it is working again.

What I am doing is NOT sending "the imageData" and instead sending the raw
image instead. On the receiving side I am:

1. Setting what templateImage parameters I can, such as "location".

2. Setting the global paintCompression property.

3. Creating the image.

4. Finally using "put into" to change the raw contents.

That seems to work. For now. Is that what everybody else does when they need
to do something like this?

doug

On 1/26/04 12:58 PM, "Doug Lerner" <doug at webcrossing.com> wrote:

> I got it to work at least once last night, and now I am getting scrambled
> images again.
> 
> A couple of questions, the answer to which might clear up my problem:
> 
> 1. I think my problem is that I am sending "the imageData of image myImage",
> which is the 4-byte-per-pixel visible format of the raw data. The raw data
> is actually just "image myImage". Is that correct? Should I be sending the
> raw data instead?
> 
> 2. Before creating the new image from the received data, I want to set the
> appropriate templateImage properties. But what is the property containing
> the raw image? It appears to be "the value" of the image, but that doesn't
> seem to be settable directly. I am left with using "put into" after the
> image is created?
> 
> Any advice would be great.
> 
> Thanks,
> 
> doug
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list