Crop image using c#
Bitmap bmpImage = (Bitmap)Bitmap.FromFile("Path Of image to crop ");
Bitmap bmpCrop = bmpImage.Clone(new Rectangle(left,top,right,bottom), bmpImage.PixelFormat);
bmpCrop.Save("path to save cropped image");
bmpCrop.Dispose();
bmpImage.Dispose();
Comments
Post a Comment