optar add commandline options for dpi and format