I want to copy the image I have on the screen into a buffer.
Then I want to write the contents of the buffer into a file. Is it possible to do this, and if so
how do I do it?