diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 9bf293d13e8..15890ffff6e 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -3252,6 +3252,8 @@ def _open_core(fp, filename, prefix, formats): # Leave disabled by default, spams the logs with image # opening failures that are entirely expected. # logger.debug("", exc_info=True) + if i == "TIFF": + raise continue except BaseException: if exclusive_fp: