Added a "--resolution" command line option.