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