Screenshots in X11

不想你离开。 提交于 2019-11-30 10:47:46

The standard tool for taking screenshots in X11 is to use

xwd -root > myscreen.xwd

Then, convert to .pnm with

xwd2pnm myscreen.xwd > myscreen.pnm

Therefore, you can locate the source code of xwd and see how it is implemented, http://cvsweb.xfree86.org/cvsweb/xc/programs/xwd/xwd.c?rev=HEAD&content-type=text/vnd.viewcvs-markup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!