The setPixelFormat changes the color depth of the remote connection.
Javascript Syntax
thinvnc.setPixelFormat(colorDepth);
Arguments
colorDepth
Valid values are 0 for 16-bit color depth and 1 for 256-bit color depth.
int
See also
See also the setGrayscale, setKdbControl, setMonitor, setScaled and setMouseControl methods.