WebPImage.ResizeHeightProportionally

WebPImage.ResizeHeightProportionally method

Adjust the height of the image proportionally, while preserving its aspect ratio for consistent resizing. Integrate this method into your image processing workflow to dynamically resize images with uniform proportions, ensuring optimal display or storage within your application.

public override void ResizeHeightProportionally(int newHeight, ResizeType resizeType)
ParameterTypeDescription
newHeightInt32The new height.
resizeTypeResizeTypeType of the resize.

See Also