identify broken images

Derek Bump webmaster at dreamscapesoftware.com
Mon Dec 27 17:22:45 EST 2004


I did notice that compairing the "imagePixmapID" is giving me clues to solve the problem.  If the image is a "referenced" image, and it is broken, it seems to be reporting empty.  If the image is not "referenced", and it is broken, the imagePixmapID is reporting a negative number.  Is this what your looking for...

if (the imagePixmapID of img "test") is empty then
   answer "This image is broken and unreadable."
   exit to top
end if
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 


More information about the use-livecode mailing list