[comp.lang.postscript] Full Color Raster Images in PostScript - How?

jh34607@suntc.UUCP (john howell) (12/08/89)

I am writing a PostScript file/program that has a color raster image as
part of it.  When I refered to the RED BOOK I noticed the following
footnote:

	At present, the POSTSCRIPT language does not provide a way to
	represent full color in a single image.  However, under suitable
	conditions, full color can be represented as three color
	separations each defined by a gray-scale image.  Such image
	processing is beyond the scope of this manual.

OK, in my case I have two situations:
	1)	Raster image data is encoutered as a single scan line
		consisting of RGB full color pixels.
	2)	Raster image data is encountered as a rectangular block
		very much like the regular gray scale images, except the
		block consists of RGB pixels.
I was hoping to use the "image" descriptor, but it appears unavailable.
Another way would be to draw each pixel as a small filled rectangle and
I could probably do some run length encoding, but this seems excessive.

Can someone recommend a way to handle these images ... perhaps a
reference to the color separation technique described in the RED BOOK?

Thanks.


========================================================================
John Howell			uucp:		uunet!suntc!jrh
Deere & Company			MCImail:	360-4047
Technical Center		CompuServe:	[76666,2505]
3300 River Drive		FAX:		(309)765-3807
Moline, IL  61265		Voice:		(309)765-3784
========================================================================

ib@apolling (Ivan N. Bach) (12/09/89)

Color extensions to the PostScript language are described in the Section
"Color Operator Definitions" in the User's Guide for a QMS ColorScript 100
printer, the first color PostScript printer.  These extensions include a
new operator called "colorimage."

Ivan N. Bach                      Tel (408) 986-9400, x508
QMS, Corp.                        Fax (408) 727-3725 
2650 San Tomas Expressway         arpa: imagen!ib@decwrl.dec.com
Santa Clara, CA 95051             uucp: {decwrl,sun}!imagen!ib