UtilResizeImageWithCrop Method |
Resize an image (and crop difference to maintain aspect ratio favouring the middle)
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static Image ResizeImageWithCrop(
Image image,
int width,
int height
)
Parameters
- image Image
- input image to be resized
- width Int32
- output image width
- height Int32
- output image height
Return Value
ImageThe resized image
See Also