Take a snapshot image of Emacs from within Emacs