> 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
~ # pkg_which ppmtojpeg
netpbm-10.35.89

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to