image scale correction