开发者

How to create image from java applet visual output?

Is there anyway to create an image from the visual output of a java applet? Alternatively, an array of rgb values 开发者_如何学Pythonwould suffice.

It needs to be similar to Java Robot class' "createScreenCapture(Rectangle screenRect)" except it needs to work even when the applet is not visible.


simply save the buffer with ImageIO.write(...);

You are using a buffer right?

if you post the source ill write a saveOutput() method for you

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜