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

Popular posts from this blog

Lite PromiseJS(Light weight JavaScript promise library)

Insert, Delete Rows, columns in HTML table Using Javascript

Open source Social Networking site in Asp.net and Microsoft Ajax