AW: How to test if an image is empty?

Tiemo Hollmann TB toolbook at kestner.de
Mon Jul 11 07:14:23 EDT 2011


Thanks Mark and Scott,
"the text" ... hmm, not the first to think about with an image :)
Thanks for your quick response
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von Scott Rossi
> Gesendet: Montag, 11. Juli 2011 11:48
> An: LiveCode Mail List
> Betreff: Re: How to test if an image is empty?
> 
> Recently, Tiemo Hollmann TB wrote:
> 
> > 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?
> 
> To "truly" empty an image, I set the text property of the image to empty,
> and also check that property to make sure it's empty.
> 
>   return (the text of img 1 is empty)
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list