# Revision history [back]

### Independent scaling on x and y direction of image

Hi, I am able to use cv2.getRotationMatrix2D (in python) along with warpAffine to scale and rotate my image around a specific cente rpoint. I am faced with the need to do the scaling independently on the x and y axes. Is there a built-in way of doing that?

 2 retagged berak 32993 ●7 ●81 ●312

### Independent scaling on x and y direction of image

Hi, I am able to use cv2.getRotationMatrix2D (in python) along with warpAffine to scale and rotate my image around a specific cente rpoint. I am faced with the need to do the scaling independently on the x and y axes. Is there a built-in way of doing that?

 3 None supra56 943 ●9 ●6

### Independent scaling on x and y direction of image

Hi, I am able to use cv2.getRotationMatrix2D cv2.getRotationMatrix2D (in python) along with warpAffine warpAffine to scale and rotate my image around a specific cente rpoint. I am faced with the need to do the scaling independently on the x and y axes. Is there a built-in way of doing that?