Skrip python untuk memeriksa berapa banyak gambar yang rusak

statfile = os.stat(filename)
filesize = statfile.st_size
if filesize == 0:
  #manage here the 'faulty image' case
Black Batfish