Find the rectangle area of image to Crop
问题 I've image with the size of (352 x 240) And I want to crop the white area (the selected area as show below). I use this code to crop image , private static Image cropImage(Image img, Rectangle cropArea) { Bitmap bmpImage = new Bitmap(img); Bitmap bmpCrop = bmpImage.Clone(cropArea, bmpImage.PixelFormat); return (Image)(bmpCrop); } But I can't find the exact rectangle area for my need ! How can I find Rectangle value of selected area ? I just want to crop this area !! Thanks ! 回答1: If you want