You could loop over x and y, calling readPixel to get individual values, and save them.
Or you could dump the raw buffer, which is available using frameBuffer, and is of size getBufferSize.