Modify

Modify the exception handling for Image::FromFile()