From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Tykhonov Newsgroups: gmane.emacs.devel Subject: Re: Take a screenshot from within Emacs Date: Thu, 7 Jul 2016 23:53:21 +0300 Message-ID: References: <577EB137.3000409@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1148da7e8bf184053711e1b4 X-Trace: ger.gmane.org 1467924851 3614 80.91.229.3 (7 Jul 2016 20:54:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2016 20:54:11 +0000 (UTC) Cc: Emacs developers To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 22:54:11 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLGJG-0000wy-VW for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2016 22:54:11 +0200 Original-Received: from localhost ([::1]:42285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLGJG-0001qh-65 for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2016 16:54:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLGIq-0001h2-RG for emacs-devel@gnu.org; Thu, 07 Jul 2016 16:53:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLGIo-0006WH-Rr for emacs-devel@gnu.org; Thu, 07 Jul 2016 16:53:43 -0400 Original-Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:33793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLGIo-0006VD-Ko for emacs-devel@gnu.org; Thu, 07 Jul 2016 16:53:42 -0400 Original-Received: by mail-wm0-x22a.google.com with SMTP id p190so579990wmp.1 for ; Thu, 07 Jul 2016 13:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i0YiqWoPgcPih8CWT98jrHZ0gXb1QSSsq5PWSTuRqvo=; b=RloSiOot7WvT6u8AdLPSrBCvNMOv/KGzUkqmtUf/Qc/0OYsF1jtl7pUmPDZWK15LKp NHeuDW1zlde3bm4aNMslMDRgCIDH8cTa/DbVuzy2Wp9KoI9qhSjPQuKnVJChv6x2L7ab Ko9ebmrPowP33382lXGmx4h834EQFzop0JRCMftHL3WpVMKS+8CnFiJDR6TXI4WmuLdg shXxrd6jwfXIdQT9lyeHUBErm4QEDqyKH53oX4qklh+4lMZ6hUsr6yvFJqOFJB6tf+rP hgWFSiDftnL6MW4TKQ347pts892Ey3o4el+iNekmkZAEJyu1Ef3SIAXjJ46G48R2Iw60 l6/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i0YiqWoPgcPih8CWT98jrHZ0gXb1QSSsq5PWSTuRqvo=; b=beKNqnwmAUtlrqrdvEvf5rElvWfzNdYaC4bPt5pHlhhL4Rx3NCqCCenWIxWBOpnqt0 LpRzACtkWT+7UoHEfwpcCRe77UuI+1HSc2wzDU/0CM25ZEZ12t997X0NOXHWE/Z8u9qf 6xzzObssfoz4jypgDK+JDQAK4NnL5O3kKzFCGjSlCqBwC5mREH4gVVtQINq9ilq6ug8Q aMlOEiZMIBkckbWgg9qAAoaTr2aHQWrhTsZCqaNZpqFCOkQDtXR0hu4cm8VFl3FYkxIn SAJXDvXFMhQT9bj9RTcmcGsTLOPhjv/iDCyciZPtezPIYp3V4LawR741LsfddE9tPhtb s8fw== X-Gm-Message-State: ALyK8tJujXelz+2+5CiSVkfhYfN7Z2oqtnaU1pnX7LKqWdSczqRFDZm1TJld5OW17SkZJwlXfrwzC6wvaaqpYA== X-Received: by 10.28.97.4 with SMTP id v4mr4788802wmb.71.1467924821566; Thu, 07 Jul 2016 13:53:41 -0700 (PDT) Original-Received: by 10.194.34.130 with HTTP; Thu, 7 Jul 2016 13:53:21 -0700 (PDT) In-Reply-To: <577EB137.3000409@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205378 Archived-At: --001a1148da7e8bf184053711e1b4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello! You could try https://github.com/atykhonov/escr . It makes screenshots by means of `import` utility (ImageMagick). It is possible to make a screenshot of a frame, window and region. I hope you would find it useful. -- Andrii On 7 July 2016 at 22:44, Cl=C3=A9ment Pit--Claudel = wrote: > Hey emacs-dev, > > How hard would it be to teach Emacs to make screenshots of itself? Not th= e > Gtk menus or additional system-rendered elements =E2=80=94 just buffer co= ntents, > windows, and frames. I expect there wouldn't be a general solution; but > maybe there is? If not, how hard would it be to do it in the default > configuration on GNU/Linux? > > And for bonus points: what about screenshots as SVG? > > Cl=C3=A9ment. > > --001a1148da7e8bf184053711e1b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello!

You could try https://github.com/atykhonov/escr . It = makes screenshots by means of `import` utility (ImageMagick). It is possibl= e to make a screenshot of a frame, window and region. I hope you would find= it useful.


--
Andrii

On 7 July 2016 at 22:44, Cl=C3=A9ment Pit= --Claudel <clement.pit@gmail.com> wrote:
Hey emacs-dev,

How hard would it be to teach Emacs to make screenshots of itself? Not the = Gtk menus or additional system-rendered elements =E2=80=94 just buffer cont= ents, windows, and frames.=C2=A0 I expect there wouldn't be a general s= olution; but maybe there is?=C2=A0 If not, how hard would it be to do it in= the default configuration on GNU/Linux?

And for bonus points: what about screenshots as SVG?

Cl=C3=A9ment.


--001a1148da7e8bf184053711e1b4--