简体   繁体   English

如何捕获图像中可执行文件的输出?

[英]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. 我想将一个exe文件的输出捕获为png或jpg图像,我的意思是该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. 在Windows上是否有任何命令可以捕获并保存为exe输出图像或我可以执行的任何其他操作。

There is always the Robot class in Java. Java中始终有Robot类。 That may be helpful. 这可能会有所帮助。 Check out this slightly related question . 看看这个稍微相关的问题

The Alt+PrtSc key combination will take a snapshot of the current window and save it into the clipboard. Alt + PrtSc组合键将获取当前窗口的快照并将其保存到剪贴板中。 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. 然后,您可以将其粘贴到您选择的绘图程序中(如果没有其他可用的工具,则可以使用MS Paint),然后将其保存到磁盘。

Alt-PRTSC,然后打开图像编辑器并粘贴。

Pressing the Alt + PrintScreen combination on your keyboard will capture the active application window and put it as an image on the clipboard. 按下键盘上的Alt + PrintScreen组合键将捕获活动的应用程序窗口,并将其作为图像放置在剪贴板上。 You can then paste it into Paint or any other application. 然后可以将其粘贴到Paint或任何其他应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM