Re: X11 screen grabber from cmd line

2013-05-10 Thread Polytropon
On Thu, 9 May 2013 20:41:45 +0200, Matthias Apitz wrote: Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? % xwd -out screen.xwd % convert screen.xwd screen.png

Re: X11 screen grabber from cmd line

2013-05-10 Thread Eduardo Morras
On Thu, 9 May 2013 20:41:45 +0200 Matthias Apitz g...@unixarea.de wrote: Hello, Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? graphics/scrot, it's exports to png, jpeg and can select a

Re: X11 screen grabber from cmd line

2013-05-10 Thread Matthew Seaman
On 10/05/2013 07:09, Polytropon wrote: On Thu, 9 May 2013 20:41:45 +0200, Matthias Apitz wrote: Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? % xwd -out screen.xwd % convert

Re: X11 screen grabber from cmd line

2013-05-10 Thread Matthias Apitz
El día Friday, May 10, 2013 a las 08:23:45AM +0100, Matthew Seaman escribió: You're somewhat missing the point here, I'm afraid. There are many alternatives for grabbing screen shots from *within* an X session itself. What the OP wants is a way to grab a screenshot of an X session from a

Re: X11 screen grabber from cmd line

2013-05-10 Thread Polytropon
On Fri, 10 May 2013 09:29:07 +0200, Matthias Apitz wrote: El día Friday, May 10, 2013 a las 08:23:45AM +0100, Matthew Seaman escribió: You're somewhat missing the point here, I'm afraid. There are many alternatives for grabbing screen shots from *within* an X session itself. What the OP

Re: X11 screen grabber from cmd line

2013-05-09 Thread Antonio Olivares
ImageMagick port can do this using command import. $ which import /usr/local/bin/import $ import --help Version: ImageMagick 6.8.0-7 2013-03-06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: Usage: import [options ...] [ file ] Image Settings:

Re: X11 screen grabber from cmd line

2013-05-09 Thread ill...@gmail.com
On 9 May 2013 17:33, ill...@gmail.com ill...@gmail.com wrote: On 9 May 2013 14:41, Matthias Apitz g...@unixarea.de wrote: Hello, Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? Thx

Re: X11 screen grabber from cmd line

2013-05-09 Thread Lena
Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? #!/bin/sh xwd -display :0 | xwdtopnm | ppmtojpeg -optimize $1.jpg ~ # pkg_which xwd xwd-1.0.5 ~ # pkg_which xwdtopnm netpbm-10.35.89 ~ #