[comp.sys.sgi] postscript -> image file

steve@wrc.unr.edu (Stephen Wheatcraft) (11/02/90)

We have a new scanner (Microtek) that produces 1-bit,
8-bit and 24-bit images (300dpi). It is attached to a
color Sun 386i (no laughs now!) because its tool
interface is in sunview. The scanner software will save
an image in sun raster format, or in postscript.

My goal is to scan an image and move it over to my
SGI PI-25TG. When I scan an image in 8-bit format,  save
it as postscript, and then bring it over to the SGI, I
have no problem displaying it with psview. But when I do
exactly the same thing with the 24-bit version of the 
scanned image, psview won't display it.

Does anybody know why ... or have a solution to this
problem. Should I be trying to convert the postscript
file to a sgi.rgb file?

Any suggestions will be most welcome.


Steve Wheatcraft                Internet: steve@olympus.wrc.unr.edu
Desert Research Institute       Bitnet  : steve@unsvax.bitnet
University of Nevada System
P.O. Box 60220                  AT&T    : (702) 673-7393
Reno, NV 89506                  FAX     : (702) 673-7397
				

msc@ramoth.esd.sgi.com (Mark Callow) (11/03/90)

In article <4876@tahoe.unr.edu>, steve@wrc.unr.edu (Stephen Wheatcraft) writes:
|> My goal is to scan an image and move it over to my
|> SGI PI-25TG. When I scan an image in 8-bit format,  save
|> it as postscript, and then bring it over to the SGI, I
|> have no problem displaying it with psview. But when I do
|> exactly the same thing with the 24-bit version of the 
|> scanned image, psview won't display it.
|> 
|> Does anybody know why ... or have a solution to this
|> problem. Should I be trying to convert the postscript
|> file to a sgi.rgb file?
Until recently there was no color image operator in PostScript.  Adobe
added 'colorimage' to display PostScript and also to level 2
PostScript.  Several color PostScript printers have already adopted
this operator.  Presumably your scanner uses 'colorimage'.
Unfortunately NeWS predates 'colorimage' and has its own extension to
the 'image' operator to handle color images. It doesn't support
'colorimage'.

You best bet is to scan it in Sun rasterfile format, copy it to the IRIS,
and use the fromsun translator in 4Dgifts to convert it to an SGI .rgb. file.
You can then use izoom to shrink it to 100x100 for pandora.

-- 
From the TARDIS of Mark Callow
msc@ramoth.sgi.com, ...{ames,decwrl}!sgi!msc
"There is much virtue in a window.  It is to a human being as a frame is to
a painting, as a proscenium to a play.  It strongly defines its content."