Friday, March 4, 2011

How can I capture the output of an Executable in an image?

I want to capture the output of an exe file as an png or jpg image, i mean the display of that exe. Is there any command on windows to capture and save as image of an exe output or any other idea that i can do this.

From stackoverflow
  • The Alt+PrtSc key combination will take a snapshot of the current window and save it into the clipboard. Then you can paste it into your drawing program of choice (MS Paint will do if nothing else is available), and save it to disk.

  • Alt-PRTSC, then open an image editor and paste.

  • Pressing the Alt + PrintScreen combination on your keyboard will capture the active application window and put it as an image on the clipboard. You can then paste it into Paint or any other application.

  • There is always the Robot class in Java. That may be helpful. Check out this slightly related question.

  • Pardon me... I cant have a monitor. so whatever method you are saying will end up with the headless exception in java!

    gotcha?! any help?

0 comments:

Post a Comment