Hi David length(the imagedata of image x)=0 or the filename of image x is empty
Also if you open any image and look at the hex/ascii data you will see the similitudes of the headers. Im sure they are documented... cheers Xavier > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > david bovill > Sent: Tuesday, August 16, 2005 10:00 > To: How to use Revolution > Subject: Testing if an image is empty (blank)? > > How do I test to see if an image is empty? > > The issue is that it is hard to filter the file dialog in > such a way that only images or videos are selectable cross > platform and then you have drag and drop... so I tried > testing after a drag and drop (which sets the filename > property) to see if the image has any data... so if you > choose a text file or pdf the filename property is set (which > is a pitty) and the imageData is not empy... > > There is nothing that I now of like "file is an image"... > > Any ideas of how to figure out after setting the filename of > an image whether it worked or not? > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
