AVS Modules                                                  output 8bit ps
Lawrence Berkeley Laboratory                                 7 April 1992

NAME
     output 8bit ps

SUMMARY
     Name	   output 8bit ps

     Type	   renderer

     Inputs	   field 2d scalar byte

     Outputs	   none

     Parameters	   Name		   Type
		   filename	   browser

DESCRIPTION
     The "output 8bit ps" module takes as input a scalar (byte, single
     channel) field
     and creates a postscript file suitable for printing on a monochrom
     postscript printer.  The postscript file contains a representation
     of the input color image using the "image" postscript command,
     using 8bits of gray. 

     The postscript image is scaled so as to be centered on the page
     and to occupy as much area on the page as possible.  The nice
     thing about the file produced is that it will work and produce
     similar results on, for example, a 200dpi device (like an
     Apple Laserwriter) or on a 600dpi device (like a Verityper).

     After executing, the module resets the filename parameter to
     NULL.  This has the effect of requiring the user to enter a new
     filename for each subsequent invocation of this module before
     executing.

INPUTS

     field 2d scalar byte 

PARAMETERS

     filename
         a typein which allows the user to enter the name for
         the output file which will contain the postscript.


EXAMPLE
     This example converts an image to a PostScript file:

	   READ	IMAGE
	       |
          LUMINANCE
               |
         OUTPUT 8BIT PS

Lawrence Berkeley Laboratory                                    7 April 1992
Wes Bethel                             

