python script to check how many images are broken

Solutions on MaxInterview for python script to check how many images are broken by the best coders in the world

showing results for - "python script to check how many images are broken"
Emilio
19 Jul 2019
1statfile = os.stat(filename)
2filesize = statfile.st_size
3if filesize == 0:
4  #manage here the 'faulty image' case
5
similar questions