Module imageops

Source

Functionsยง

calculate_height_preserve_aspect_ratio
Resizes the image preserving the aspect ratio. Returns the new height.