[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screenshots, frame shots straight from Emacs

From: Tomas Hlavaty
Subject: Re: Screenshots, frame shots straight from Emacs
Date: Thu, 22 Jul 2021 10:26:09 +0200

On Wed 21 Jul 2021 at 12:21, Leo Butler <> wrote:
> Emanuel Berg via Users list for the GNU Emacs text editor
> <> writes:
> Here is an example done from a console:
> I did:
> M-x eval-buffer RET
> M-x framebuffer-screenshot RET
> M-! ppmtojpg ... > ...

thanks for feedback, it seems to work

i wonder if it would be desirable to call ppmtojpg or better ppmtopng
(hmm, there is no ppmtopng, why not? there seems to be ppmtogif)
automatically if installed.  or write it in pure emacs lisp.

> @Tomas: I am not sure why, but when I do the same thing in an xterm
> (in the same emacs session, but with a different client, obviously), I
> end up with this:

here you see the ppm file contents as emacs-framebuffer works only in
framebuffer so far.  i think that it should be possible to support xterm
too because w3m browser is able to show pictures even in xterm, but i
haven't got around to this use-case as i am mainly after eliminating gui

reply via email to

[Prev in Thread] Current Thread [Next in Thread]