Re: check whether a JPG is completed?
Hi! Sometimes, PIL give an error. With "try: Except:", you can get info. Sometimes, non error, but the Jpeg is not correct. Difficult, in this case, to get info. Therefore, the answer is: "not in all cases". @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list
check whether a JPG is completed?
there are some pics(most of them are JPGs) on my disk, but some are not completed, that is to say, if I view it in irfanview, the bottom is displayed as a gray block. so I want to check where they are completed. but how to do that in python? (No, I am not saying "how to tell the fileszie when I download a file from internet") thanx -- http://mail.python.org/mailman/listinfo/python-list