Scaling will maintain the aspect-ratio of the original image. If only a single dimension is specified, the other dimension will be calculated.