AoRaToS Posted April 5, 2009 Posted April 5, 2009 I would like to take a screenshot of the desktop, but I want it to be as fast as possible, which is the fastest method? s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3
computergroove Posted April 6, 2009 Posted April 6, 2009 Hit the "print screen" button on the keyboard. Can you be more specific? Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html
Richard Robertson Posted April 6, 2009 Posted April 6, 2009 The fastest is a hardware solution between your graphics card and your monitor.
AoRaToS Posted April 6, 2009 Author Posted April 6, 2009 Sorry for not being specific, what I want is to take a a screenshot every few ms without it being processor hungry, I tried a few things, reading all the pixels takes really long if the resolution is high, I found some GDI+ function that do it faster but the results are mixed, and the quality isn't really good :/ s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3
ProgAndy Posted April 6, 2009 Posted April 6, 2009 Did you look at the ScreenCapture-UDF? There is a func called _ScreenCapture_Capture *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
Richard Robertson Posted April 6, 2009 Posted April 6, 2009 GDI+ is relatively fast. I once had a real-time screen capture program written in C# that would copy the entire screen, and color it to monochrome. It had a good refresh rate. I didn't have any noticeable lag.
AoRaToS Posted April 6, 2009 Author Posted April 6, 2009 Thanks allot Prog Andy I found that, now I need a way to send a picture through a LAN...Turn it into a string?what would you propose?? s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3
Richard Robertson Posted April 6, 2009 Posted April 6, 2009 You'll want to compress the image before sending it. A bitmap of a highest color 32 bit per pixel 800x600 screen is 1.83 MB. That will take a little time to send over a network.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now