I have something like that – image loaded from file to picturebox1:

then after pressing button ‘SelectArea’ i can draw rectangle on loaded picture:

and finally after pressing another button ‘SaveArea’ i’d like to save img inside of created rectangle, so as a result i’ll have image saved on my drive like this one:

How to write code which help me do this last step -> save inside of rectangle?
Tnx.
First new up a Bitmap with the right dimensions
then you create a Graphics-object for this with Graphics.FromImage and then use the DrawImage method on the resulting Graphics-object to draw a section of your large image onto the bitmap.
Finally save the bitmap-object with Save:
so just call it with: