OSError: image file is truncated (7 bytes not processed) from PIL import ImageFileImageFile.LOAD_TRUNCATED_IMAGES = True