Set scale and centralize the image