Posts

Showing posts with the label Image Croping

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();