/usr/share/doc/raster3d/html/avs2ps.html is in raster3d-doc 3.0-3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | <html>
<head>
<title> avs2ps - Raster3D package </title>
<LINK REL=stylesheet HREF="r3d_docstyle.css" TEXT="text/css">
</head>
<body>
<h1 align=center>
<a name="RTFToC7">AVS2PS
</a></h1>
<h4>
<a name="RTFToC8">SYNOPSIS</a></h4>
avs2ps is distributed as part of the <a href="raster3d.html"> Raster3D </a>
molecular graphics package.<br>
avs2ps converts an AVS image input on stdin to monochrome PostScript on stdout.
<pre>
avs2ps [-b] [-dpi xxx] < infile.avs > outfile.ps
</pre>
avs2ps
converts a 24-bit color image file in AVS format into a dithered monochrome
PostScript image with the same number of pixels as the input file. avs2ps may
be used as a filter for the output of the render program to produce a
PostScript file directly. The code is machine independent, and does not impose
restrictions on the tile size in the original image. It supersedes less general
programs in the viewtools package.<p>
avs2ps converts the input stream to a greyscale image and then applies an
empirical algorithm for contrast enhancement, dithering, and error diffusion to
produce a monochrome output image. The basic approach is a variant of
Floyd-Steinberg error diffusion.
<h4>
<a name="RTFToC9">EXAMPLES</a></h4>
Produce an unbordered black & white image suitable for printing on a 300
dpi PostScript printer:
<pre>
render < description.r3d | avs2ps > image.ps
</pre>
Add
a border, and prepare image for a 400 dpi printer:
<pre>
render < description.r3d | avs2ps -b -dpi 400 > image.ps
</pre>
<h4>OPTIONS</h4>
<dl>
<dt><i>-b</i><dd>Draw a border around the figure. By default avs2ps will
produce a borderless image 0.5 inch in from the bottom left of the page.
<dt><i>-dpi xxx</i><dd>By default avs2ps writes header records into the
PostScript output file which are correct for a 300 dpi printer (e.g. an HP
Laserjet IIIsi). If there is a mis-match between the header records and the
actual resolution of the printer the image quality is substantially degraded.
This option allows one to specify a different printer resolution (e.g. -dpi 400
for a Next printer, or -dpi 95 for Display PostScript on a 19'' 1280x1024
workstation screen).</dl><h4>
<a name="RTFToC10">AUTHORS</a></h4>
Ethan A Merritt. Dithering algorithm derived from code by Randy Read and Albert
Berghuis.
<hr>
<a href="raster3d.html">
<img src="index_button.gif" align=top> Back to top </a>
<a href="http://www.bmsc.washington.edu/raster3d/raster3d.html">
<img src="r3d_icon.gif" alt="" align=top> Raster3D homepage </a>
</body>
</html>
|