[comp.graphics] Sun raster to Postscript

torab@eecae.msu.edu (06/05/91)

I was looking for a software which would change sun raster images 
to Postscript format. Some body suggested "sun2ps" program written 
by Glenn Boysko, Case Western Reserve University. 

The only problem with this software is that it does not transform 
the files that are already "run-length byte encoded". 

Is there a way to take care of this ? 
Are there any other Sun raster to Postscript software ? 

Your response will be appreciated. 

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Happiness is a crazy arithmethic;		Homayoun M. Torab 
      it multiplies when you divide it!!	Dep. of Elec. Engineering 
                          			Michigan State University
      torab@frith.egr.msu.edu or 
      torab@msuegr.bitnet  			...!uunet!frith!torab
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

decouty@irisa.fr (Bertrand Decouty) (06/05/91)

In article <1991Jun4.210851.6280@msuinfo.cl.msu.edu> torab@eecae.msu.edu writes:
| I was looking for a software which would change sun raster images 
| to Postscript format. Some body suggested "sun2ps" program written 
| by Glenn Boysko, Case Western Reserve University. 
| 
| The only problem with this software is that it does not transform 
| the files that are already "run-length byte encoded". 
| 
| Is there a way to take care of this ? 
| Are there any other Sun raster to Postscript software ? 
| 
| Your response will be appreciated. 
| 
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|       Happiness is a crazy arithmethic;		Homayoun M. Torab 
|       it multiplies when you divide it!!	Dep. of Elec. Engineering 
|                           			Michigan State University
|       torab@frith.egr.msu.edu or 
|       torab@msuegr.bitnet  			...!uunet!frith!torab
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


The last version (january 1991) of sun2ps.c posted recently in alt.sources
should do what you want. 

sun2ps.c converts mono and color rasterfiles into PostScript. I am going to
test this version and will make it available later , with my own
modifications (print at 75 dpi not 72dpi, support of A4 paper, man page) on
irisa.irisa.fr, cd Postscript. 

NOTE: i am not the author of sun2ps, only a user (and a local maintainer).

-- 
| Bertrand DECOUTY             | EMAIL : decouty@irisa.fr, decouty@irisa.uucp  |
| IRISA - INRIA (Atelier)      |         {uunet,mcsun,inria}!irisa!decouty     |
| Campus de Beaulieu           | PHONE : +33  99 36 20 00                      |
| F-35042 Rennes Cedex - FRANCE| FAX : +33  99 38 38 32 | TELEX: 950473 UNIRISA|

falk@peregrine.Sun.COM (Ed Falk) (06/06/91)

In article <1991Jun4.210851.6280@msuinfo.cl.msu.edu> torab@eecae.msu.edu writes:
|I was looking for a software which would change sun raster images 
|to Postscript format. Some body suggested "sun2ps" program written 
|by Glenn Boysko, Case Western Reserve University. 
|
|The only problem with this software is that it does not transform 
|the files that are already "run-length byte encoded". 
|
|Is there a way to take care of this ? 

Yes, pipe run-length encoded files through /usr/lib/rasfilters/convert.2
to generate standard format images (or visa-versa)

|Are there any other Sun raster to Postscript software ? 

Yes, tons.  For example the PBM package and the Utah Raster Toolkit
have converters for postscript.

		-ed falk, sun microsystems
		 sun!falk, falk@sun.com

In the future, somebody will quote Andy Warhol every 15 minutes.