For example, when I only provide one of the length
or width
parameters, another parameter is automatically calculated while maintaining the aspect ratio of the image.
Is there a related function in the MagicWand
library? Still have to calculate the aspect ratio yourself?