Nov-08-2018, 09:16 PM
Quote:where my code will just successfully skip this corrupted files and keep on goingLook up Python's try and except. In addition to Larz60+ suggestion, try converting it with either ImageMagick or PythonMagick to some other format and then back again, to see if that removes or corrects the corrupted part.