can specify compression level of output image on command line