ImageData.fit_image_to_shape method. Fits the image data to Shape frame so that the aspect ratio of the image data matches the aspect ratio of Shape frame.... doc = aw . Document () builder =...= aw . DocumentBuilder ( doc = doc ) # Insert an image shape and...