On 9/30/2011 8:31 PM, Chip Orange wrote:
Isn't there a Windows keystroke which will put an image to the clipboard?

Print screen will copy the entire screen, where as Alt-Print Screen will copy the active window. I don't believe, however, that you can get access to the print screen key through scripting.

If so, what format is it, and could you just write the stream of the clipboard to an image file?

It's bitmap data. The Window-Eyes Diagnostic App uses a custom executable, which is, more or less, just an implementation of the screen capture class found at http://www.vbforums.com/showthread.php?t=385497. You could pipe the results of that through something like ImageMagik to do some post processing (changing resolution, contrast, etc.) on the screen capture in order to get the image into the best OCR processing state before then passing it to the OCR engine.

The whole concept works perfectly in theory. <grin>

Aaron

--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to