TiffImage.ResizeProportional
TiffImage.ResizeProportional method
Conduct a proportional resize operation on the image, preserving its aspect ratio while adjusting its dimensions. Employ this method to dynamically scale images within your application, ensuring consistent visual representation of content integrity. The proportional resize will resize each frame according to the ratio of newWidth/width and newHeight/height.
public void ResizeProportional(int newWidth, int newHeight, ResizeType resizeType)
Parameter | Type | Description |
---|---|---|
newWidth | Int32 | The new width. |
newHeight | Int32 | The new height. |
resizeType | ResizeType | The resize type. |
See Also
- enum ResizeType
- class TiffImage
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging