HELP XWD Aaron Sloman 1 Sep 2009 Purpose: Dump a poplog graphic window to file, using xwd See MAN * xwd for information on the Unix/Linux utility. To make this library availabe do uses xwd xwd(window-title, filename) Example: xwd('Xgraphic', 'fig1.jpg') ;;; creates a jpeg dump of the Xgraphic window, called fig1.jpg By default the turtle graphic windows have title 'Xgraphic'. If you wish to dump a different graphic window, change the first argument. This invokes the xwd utility, which creates a file of type .xwd e.g. 'Xgraphic.xwd' It then invokes the unix/linux utility 'convert', thus: convert Xgraphic.xwd fig1.jpg This uses the suffix of the second argument to determine the type of image file to create. --- $usepop/pop/x/pop/help/xwd --- Copyright University of Birmingham 2009. All rights reserved.