I have an image and I want to change the width & height of said image.
(For example Width = 200 Height = 120
and I want to change that to Width = 30 Height = 50
)
What would be the best way to do so?
I have an image and I want to change the width & height of said image.
(For example Width = 200 Height = 120
and I want to change that to Width = 30 Height = 50
)
What would be the best way to do so?
Bitmap original = (Bitmap)Image.FromFile("DSC_0002.jpg");
Bitmap resized = new Bitmap(original,new Size(newWidth,newHeight));