favoring raise to sys.exit
use Pillow