david bovill wrote:
How do I test to see if an image is empty?

if (the imagePixMapID of img "testImage") is empty then
  answer "Unable to open the selected image." with "OK"
end if


You can also get a little more creative and use QuickTime to determine if the file can be opened. At that point you can go 1 further and convert the image to a format that Revolution can understand, and now you've given yourself the ability to open all image types that QuickTime can support.


Derek Bump
Dreamscape Software
_______________________________________________
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.com/

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to