Posted: 20th Nov 2011 11:13
Suppose you use attempt to use loadImage and there is a problem executing this command (e.g. corrupted image file, hard disk hiccup, etc.). Suggestions for checking for failure?
Posted: 20th Nov 2011 15:34
This is the sort of thing I generally do.
+ Code Snippet
if getfileexists("image.png")=1
    loadimage(image,"image.png")
endif

That will check if the file exists, and ignore the load command if it fails. Obviously it doesn't check if the file is corrupted or not, just if it exists. You could easily flag an array to record each failure to load also. I'm not sure about checking file integrity, but I can't really see a need myself.