[CentOS] CentOS 6 and screenshot of website

Walter Haidinger walter at doxlock.com
Thu Jan 5 10:15:30 UTC 2012


Am 04.01.2012 10:46, schrieb Jani Ollikainen:
> How one is supposed to do screenshots of a website with CentOS 6?
For X11, there is xwd(1): X window dump.
Prompts you to click on a window and dumps its contents.

To "screenshot" a single window and save it as a jpeg, e.g.:

xwd | xwdtopnm | pnmtojpeg > window.jpg

Under CentOS 6, xwd is part of the xorg-x11-apps package,
xwdtopnm and pnmtojpeg come with netpbm-progs.

Hope that helps.

Walter




More information about the CentOS mailing list