OnWorks favicon

avs2ps - Online in the Cloud

Run avs2ps in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command avs2ps that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



avs2ps - convert AVS image input on stdin to monochrome PostScript on stdout


avs2ps [-b] [-dpi xxx] < infile.avs > outfile.ps

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.

avs2ps is machine independent, and does not impose restrictions on the tile size in the
original image. It supersedes the programs molras3d and hdither in the viewtools package.


Produce an unbordered black & white image suitable for printing on a 300 dpi PostScript

render < infile.r3d | avs2ps > image.ps

Add a border, and prepare image for a 400dpi printer

render < infile.r3d | avs2ps -b -dpi 400 > image.ps



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.

-dpi xxx

By default avs2ps writes header records into the PostScript output file which are correct
for a 300dpi printer (e.g. an HP 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 GhostScript on a 1280x1024 workstation screen).


avs2ps converts the input stream to a grey scale image and then applies an empirical
algorithm for dithering and error propagation to produce a monochrome output image.


anonymous ftp site:

web URL:

Ethan A Merritt
University of Washington, Seattle WA 98195
[email protected]

Use avs2ps online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands