Added command line parameters to change size and quality