I would like to execute a program in the Xvfb virtual frame buffer and then take a look at it within runtime. From wikipedia I know it is possible to get a screenshot-file like this:
Xvfb :1 &
xv -display :1 &
xwd -display :1 -root -out image.xwd
Is it possible to read and decode the xwd output directly with Java using ProcessBuilder or Runtime.exec() ?
Kind Regards, Theo