Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi!

We need very fast capture screen code or dll(may pay).
We do screen capture through Gdi32 or Graphics.CopyFromScreen, but maximum speed of screen capture very low.
Posted
Updated 29-Jun-20 15:36pm
Comments
joshrduncan2012 12-Jun-13 13:34pm    
Ok, so what is your question?
Fess59 13-Jun-13 4:55am    
We are in search of technology that makes the fastest screenshot. We tried Win32 and Graphics. On average computer screen capture rate of approximately 40 ms (25 fps). Is there a technology which allows to make it faster?
JackDingler 13-Jun-13 16:59pm    
That's good performance for GDI.
Sergey Alexandrovich Kryukov 12-Jun-13 21:19pm    
Every piece of code which is "slow" could be done even slower. So, how can we know your way of doing so? Let me tell you: screen measured in pixels, even big screens, are miserably small, capturing a bitmap from one happens pretty fast (who knows what speed do you expect, but the delay is almost not perceivable by a human). So, it means that you screw up something pretty well... Who knows what, without seeing your code?
I hope you did not do anything like GetPixel or SetPixel... :-)
—SA
Fess59 13-Jun-13 6:39am    
Hi Sergey!
Now we are talking only about the screenshot, without working with him

Well, "very fast" and GDI+ should never be used in the same sentence. The two are multually exclusive.

What are you doing that you think you need to grab the screen so fast. I take it you're doing some remote desktop application or making a video out of these screen grabs??
 
Share this answer
 
Perhaps my solution will help you. It is multi-threaded and the number of threads dedicated to polling the screen are configurable. I will even sell you rights to use it since it is licensed for non-commercial use.

Remote Control PCs[^]
 
Share this answer
 
Comments
Fess59 13-Jun-13 6:32am    
Hi Andy!
How can I contact you to discuss that issue?
joshrduncan2012 13-Jun-13 14:10pm    
I highly suggest removing your email from here unless you want a TON of spam.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900