Using width and height command line arguments to set size of output images