You can use the method Clone class System.Drawing.Bitmap.
The following example creates a Bitmap corresponding to the part defined by the rectangle whose upper left corner has as coordinates 0,0 with a length and width equal to 100:
Rectangle cloneRect = new Rectangle(0, 0, 100, 100);
System.Drawing.Imaging.PixelFormat format = myBitmap.PixelFormat;
Bitmap cloneBitmap = myBitmap.Clone(cloneRect, format);
In the present case myBitmap
is your PictureBox.Image
obtained as follows:
(I’m not sure if the cast is possible, but I believe.)
Bitmap myBitmap = (Bitmap)pictureBox1.Image;
or
Bitmap myBitmap = new Bitmap(pictureBox1.Image);