Welcome to the TeXnik website (under construction) ScreenShot\ScreenShot |
||||||||||||
|
Shots with xv |
Shots with xwd |
Converting to eps-format |
with xv
- click grab->grab button - put mouse pointer anywhere in the background and click left mouse button - the whole screen appears as image! - click right mouse button and save it.
with xwdThere are several other options for xwd, so have a look at the manpage.
- put the cursor anywhere ;-) and click left mouse button - convert the foo.xwd file to any other format with e.g. convert foo.xwd foo.gif
- put the cursor in the specific window and click left mouse button convert the foo.xwd file to any other format with e.g. convert foo.xwd foo.gif
Converting to eps-formatsome meanings of users:
I just used the following steps, with excellent output on a 600 DPI Postscript printer: 1. Use XV to grab a window (an 800x800 Xemacs window); 2. Save the grabbed file as full-colour (24-bit) TIFF (you could save it as a greyscale TIFF if you didn't need to make a PDF file or print it to a colour printer); 3. Convert to EPS with "tiff2ps -e file.tiff > file.eps"; 4. Insert it into your doc as an EPS figure. Here I get good results using xwd, ImageMagick convert to eps in grayscale and avoiding resizing in the \includegraphics (i.e. convert to the required size using -geometry).
Example: If bitmap graphics is needed, perhaps the best way is to use pdflatex which can directly include JPEG/PNG/TIFF images. Unfortunately, the most recent stable version (1.1.5fix1) doesn't have PDF support, so you will have to export the file as latex and run pdflatex yourself (the CVS version does have PDF support). Another way is to save all screenshots as png and then convert them to eps with: pngtopnm -mix -background 1,1,1 $< |pnmtotiff -packbits >$*-tmp.tif tiff2ps -2ez -i0 $*-tmp.tif >$@ || rm -f $@ rm -f $*-tmp.tif |