我對1個問題非常感興趣 - 如何爲客戶端桌面進行screennshot以進一步發送到Web服務或我的Silverlight應用程序。 我要爲屏幕錄像編寫一個應用程序。通過Java小程序的屏幕截圖
Thx提前!
我對1個問題非常感興趣 - 如何爲客戶端桌面進行screennshot以進一步發送到Web服務或我的Silverlight應用程序。 我要爲屏幕錄像編寫一個應用程序。通過Java小程序的屏幕截圖
Thx提前!
看看機器人課。
這已經有一段時間了,但我認爲在Robot類中有一些東西可以幫助你。
編輯:
從機器人API:
public BufferedImage createScreenCapture(Rectangle screenRect)
Creates an image containing pixels read from the screen. This image does not include the mouse cursor.
Parameters:
screenRect - Rect to capture in screen coordinates
Returns:
The captured image
非常感謝!它運作良好! 而我的問題的另一面是 - 如何組織SL應用程序和此Java小程序之間的交互,而無需在客戶機中安裝任何東西? – Alexandr 2010-02-21 15:22:22
記住,小程序必須簽名。我還記得在這裏讀到一個很難達到1fps以上(但這可能是足夠的)。 – Pool 2010-02-19 21:52:59