How to test if an image is empty?
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Jul 11 05:47:20 EDT 2011
Hi Tiemo,
To make an image object really empty, set its text to empty, rather than the imagedata. Now, 'img x is empty' should return true.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
On 11 jul 2011, at 11:39, Tiemo Hollmann TB wrote:
> Hello,
>
> when I put empty into img "foo" the imagedata of img "foo" is still not
> empty, there are still any binary data in the image.
>
> I can't test if the imagedata of img "foo" is empty" nor can I test if the
> img "foo" is empty. How can I test if I have put empty into an image? Can I
> test it binary?
>
> Thanks
>
> Tiemo
More information about the use-livecode
mailing list