Method GetResizedImage
GetResizedImage(int, int)
Resizes the image to the specified dimensions, without preserving the aspect ratio.
public ImageBuffer GetResizedImage(int targetWidth, int targetHeight)
Parameters
Returns
- ImageBuffer
A new ImageBuffer containing the resized image.
Exceptions
- InvalidOperationException
Thrown if the image resizing operation fails.
- InvalidOperationException