I need to load up an image and draw a draggable rectangle on it to determine the area to resize
Posted on 2010-09-21
Hi all experts.
I tried searching but dun really find what I wanted to achieve
Basically I need to
1. Load up an image into picturebox (500,500) from filedialog or directory listing 'Source image should not be resized to fit
2. Draw a rectangle of 300x300 inside the picture box
3. Drag the rectangle to determine the area that I wanted.
4. Crop the 300x300 area
5. Transfer to 300x300 picture to another picturebox and resize it to 100x100
From there I will save it into the database.
Thanks in advance!!