[xlib] howto create screenshots?
dicej at mailsnare.net
Mon Sep 12 06:09:08 PDT 2005
On Mon, 12 Sep 2005, Clemens Eisserer wrote:
> Hi there,
> Currently I am using java's Robot class to generate snapshots of my
> desktop, however for a single 1024x768 snapshot it takes 1.5s on my
> Athlon 800.
> Do you think this could be speed up by writing my own, x-lib based
> implementation and which way do you think is the most efficient?
You'll gain a little speed by using JNI and Xlib, especially when using
the shared memory extension, but it's primarily a driver issue. See this
More information about the xorg