comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: problems w/PS images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: problems w/PS images [message #4495] Thu, 15 June 1995 00:00 Go to previous message
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <DA81nw.AuE@hpl.hp.com>, peter@hpl.hp.com (Peter Webb) wrote:

> William Thompson (thompson@orpheus.nascom.nasa.gov) wrote:
>
> : range of 256, but the color table, which the PostScript device manages
to pick
> : up from the windowing system, still only goes up to 230. The color indices
> : higher than that end up being set to some default greyscale.
>
> : Bill Thompson
>
>
> Bill, does the color table always get picked up, or only when you
> specify the /COLOR keyword to DEVICE? It has always seemed to me
> that for grayscale postscript, you need to use top=255, while for
> screen display you need to use some smaller value to leave room for
> the window manager.

In general, you should refer to !d.n_color - 1, rather than a
hardwaired value, regardless of the device. This should also render your
code more portable among display devices.

Joe Gurman

--
J.B. Gurman / Solar Physics Branch / NASA Goddard Space Flight
Center / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions |
| while at work. Therefore, any opinions expressed herein are |
| somebody else's. |
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: TLB_GET_SIZE - strangeness!
Next Topic: Re: Generating MPEG with WAVE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 11:40:27 PDT 2025

Total time taken to generate the page: 0.08117 seconds