Taking input image as command-line argument