c# noob - cursor position and image processing

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2008
Posts: 27
Reputation: Barbarrosa is an unknown quantity at this point 
Solved Threads: 0
Barbarrosa Barbarrosa is offline Offline
Light Poster

c# noob - cursor position and image processing

 
0
  #1
Mar 10th, 2008
Hello, I am new to C#. What i am trying to do is this: I am taking a screenshot of my desktop (which i have done and stored in a file). Now all I need is to be able to define the parts of the image which I wish to extract from the larger picture. So for example, I have a screenshot. I would like to click my mouse in the top left corner of the part of the screen shot and then the bottom right. After this i just need to store that in a file... Can anyone help me????

Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 2
Reputation: chtoph is an unknown quantity at this point 
Solved Threads: 0
chtoph chtoph is offline Offline
Newbie Poster

Re: c# noob - cursor position and image processing

 
0
  #2
Mar 10th, 2008
just my thought:
1. catch mouse event of the screenshot
2. now you know your mouse start,end point,you can use image draw method create a new image, and save to a file.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: c# noob - cursor position and image processing

 
0
  #3
Mar 11th, 2008
Work around GDI+ it helps in such issues!
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum


Views: 2234 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC