home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.ghostscript.bug
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost
- From: ghost@aladdin.COM (L. Peter Deutsch)
- Subject: Re: Bug with Colors?
- Message-ID: <9301021456.1.UUL1.3#5127@aladdin.com>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- References: ghost@aladdin.COM (L. Peter Deutsch)
- Distribution: gnu
- Date: Sat, 2 Jan 1993 21:56:06 GMT
- Approved: bug-ghostscript@prep.ai.mit.edu
- Lines: 30
-
- Re <9301010700.AA07909@raisin-nut>
- <ROSE.92Dec31104330@t524i2.telematik.informatik.uni-karlsruhe.de>:
-
- > I have a problem when displaying colored PostScript pictures
- > created with Mathematica. Within these files, lots of different
- > colors are declared using the "setrgbcolor" operator. However,
- > when viewing the file using Ghostscript rel. 2.5.2, I only see a
- > very limited amount (e.g. 8-30 colors; these are the results
- > when converting the file to ppm or gif and viewing it using "xv").
-
- How are you converting it to PPM? If you use the pstoppm utility,
- the color choices are governed by a predefined palette of 256 colors
- in pstoppm.ps. Colors other than those in the palette are
- approximated with halftones of the 8 primary colors.
-
- Conversion to GIF uses a different fixed 256-element palette based on
- 3 bits of R, 3 bits of G, and 2 bits of B.
-
- If you really want 24-bit color output, simply specify PPM output on
- the command line, e.g.,
- gs -sDEVICE=ppm -sOutputFile=something.ppm something.ps
- (You will have to recompile Ghostscript to add this driver to it.)
-
- L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
- ghost@aladdin.com, ...decwrl!aladdin!ghost ; voice 415-322-0103 ; fax 322-1734
- "Implementation is the sincerest form of flattery."
-
-
-
-
-