Save Xlib window to eps file
Is it possible to capture a xl开发者_开发技巧ib window and save it to an eps file?
Use any screenshot mechanism (GNOME has a hotkey built-in to launch http://en.wikipedia.org/wiki/Gnome-screenshot for example but there are ton of ways) to get a PNG or other bitmap file.
Then just use "convert" on the command line or an app such as GIMP to convert to eps. From the command line:
convert screenshot.png screenshot.eps
精彩评论