How to check for corrupt jpgs
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 17
- Joined: Tue Aug 10, 2010 3:16 pm
How to check for corrupt jpgs
Say i have a directory of jpeg files, how would i go about to make sure they are valid. I am completely lost when it comes to this.
Re: How to check for corrupt jpgs
Hi Scott,
you could set the filename of an image to any jpeg and check "the result" immediately after that.
But I am not sure if LiveCode will complain at all when doing so...
I would use a player object, set its filename and let QuickTime report an error if any, I am sure that will work.
Maybe you could check the file directly, but I have no idea about this binary stuff
Best
Klaus
you could set the filename of an image to any jpeg and check "the result" immediately after that.
But I am not sure if LiveCode will complain at all when doing so...
I would use a player object, set its filename and let QuickTime report an error if any, I am sure that will work.
Maybe you could check the file directly, but I have no idea about this binary stuff

Best
Klaus