//Crop Image to Proper Size
var img = Image.FromFile("screenshot.png");
Bitmap bmpImage = new Bitmap(img);
Bitmap bmpCrop = bmpImage.Clone(new Rectangle(1370, 340, 200, 140), bmpImage. //width distance, height distance, new share width, new shape height
PixelFormat);
bmpCrop.Save("12.jpg");
No comments:
Post a Comment