Add text to sys.exit if the dimensions of the images do not match