add plot.scale and image.scale to utils_quantgen.R