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)
Parameter | Type | Description |
---|---|---|
newWidth | Int32 | The new width. |
resizeType | ResizeType | Type of the resize. |
See Also
- enum ResizeType
- class WebPImage
- namespace Aspose.Imaging.FileFormats.Webp
- assembly Aspose.Imaging