InvalidImageURL
Raised when PIL cannot read data from a given image URL
InvalidThreshold
Raised when an invalid threshold is provided