in order to make the code more predictable and self-documenting, consider narrowing this to the kinds of exceptions you expect to raise. Something like `except ImageOpenError`