strange imagedata

Klaus on-rev klaus at major.on-rev.com
Sat Nov 27 12:13:41 EST 2010


Hi all,

Am 27.11.2010 um 17:54 schrieb Klaus on-rev:

> Hi Björnke,
> 
>> You are setting the imagedata to null, which is equivalent to 0 which is equivalent (at least for the imagedata) to 0000 which is equivalent to black. At least i'd assume something like that is happening. I suggest you file a bug report.
> 
> Hm, If you create an empty image object and do a
> put the imagedata of img 1
> You get a LOT of binary stuff in the messages box!
> That is no what I exspect of NULL or 0 :-)
> 
>> Try the following to set an image to a state where it shows nothing:
>> put "" into image 1
> 
> I know this, but that is not the point! ;-)


OK, the point/my problem is:
How can we tell if an image is really empty (neither referenced nor imported)?

I really exspected the imagedata to be EMPTY in that case, but apparently I was wrong.


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list