How to resize an Image C#

As Size, Width and Height are Get() properties of System.Drawing.Image;How can I resize an Image object at run-time in C#? Right now, I am just creating a new Image using:

Numpy Resize/Rescale Image

Yeah, you can install opencv (this is a library used for image processing, and computer vision), and use the cv2.resize function. And for instance use: Here img is thus a numpy array containing the original image, whereas res is a numpy array containing the resized image. An important aspect is the interpolation parameter: there are … Read more