Read the images from the command line