467,161 Members | 1,003 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

Image cropping using mouse events

Hi,
I want to crop and save specified image area which is in a picturebox
with freehand using cursor, using mouseDown, mouseUp and mouseMove
events. How can crop an image with freehand (using mouse events of
course) within a picturebox control?

Thanks
Jan 18 '08 #1
  • viewed: 3201
Share:
2 Replies
On Jan 18, 12:33 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I want to crop and save specified image area which is in a picturebox
with freehand using cursor, using mouseDown, mouseUp and mouseMove
events. How can crop an image with freehand (using mouse events of
course) within a picturebox control?

Thanks
The mouse events should be fairly easy to figure out (if not let me
know) so here's the GDI+ stuff you'll need:

http://www.bobpowell.net/changing_resolution.htm

Thanks,

Seth Rowe [MVP]
Jan 18 '08 #2
On Jan 18, 10:00 pm, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Jan 18, 12:33 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I want to crop and save specified image area which is in a picturebox
with freehand using cursor, using mouseDown, mouseUp and mouseMove
events. How can crop an image with freehand (using mouse events of
course) within a picturebox control?
Thanks

The mouse events should be fairly easy to figure out (if not let me
know) so here's the GDI+ stuff you'll need:

http://www.bobpowell.net/changing_resolution.htm

Thanks,

Seth Rowe [MVP]
Thanks Seth,
The code seems in C# however converted to VB.

I'll check this link out.
Jan 18 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by ACaunter | last post: by
3 posts views Thread by Stimp | last post: by
2 posts views Thread by kumari | last post: by
reply views Thread by David | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.