WebPImage.ResizeWidthProportionally

WebPImage.ResizeWidthProportionally method

Proportionally adjust the width of the image while maintaining its aspect ratio. Integrate this method into your image processing workflow to dynamically resize images with consistent proportions, ensuring optimal display or storage within your application.

public override void ResizeWidthProportionally(int newWidth, ResizeType resizeType)
ParameterTypeDescription
newWidthInt32The new width.
resizeTypeResizeTypeType of the resize.

See Also