DESCRIPTION
Xvfb is an X server that can run on machines with no display hardware
and no physical input devices. It emulates a dumb framebuffer using
virtual memory.

The primary use of this server was intended to be server testing. The
mfb or cfb code for any depth can be exercised with this server without
the need for real hardware that supports the desired depths. The X
community has found many other novel uses for Xvfb, including testing
clients against unusual depths and screen configurations, doing batch
processing with Xvfb as a background rendering engine, load testing, as
an aid to porting the X server to a new platform, and providing an
unobtrusive way to run applications that don't really need an X server
but insist on having one anyway.

If the filename you specify ends with .jpeg or .jpg, khtml2png will save
a JPEG instead.

Cookies
*******

If the user running khtml2png hasn't been using KDE, or their cookie
policy is set to "Ask", they will be asked what to do about cookies,
causing khtml2png to hang. To avoid this, copy one of the supplied
kcookiejarrc files to ~/.kde/share/config/kcookiejarrc, or run konqueror
interactively.

X Server
********

khtml2png needs to connect to an X server (but won't create anything
on screen) - use Xvnc if using it on a server (there seem to be problems with
Xvfb). The X server needs to have enough colour depth and resolution to support
the canvas you intend to use (even though no window is opened - life is
strange). Example command line:

vncserver -depth 32 -geometry 1000x1000

Flash
*****

Unfortunately since the Macromedia flash plugin is not based on Qt, we need
to pop open a window in order to take a snapshot of the page. Use the
--flash-delay command line option to switch this mode on. The --flash-delay
option takes an argument of the number of seconds to wait *after* the page
has loaded before taking the snapshot - you may want to use this to allow
the movie to start playing. Or you can use --flash-delay 0 to snapshot
immediately.

Obviously flash will only work if you have the plugin installed and working
with Konqueror.

KDE 3.2
*******

Unfortunately (again), khtml2png will not render form elements when compiled
against KDE 3.2 unless you use the --flash-delay option. I'm looking into it.