🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5967

Re: DPS Color use

#5967
From: Joe Pasqua
Date: Thu, 17 Dec 1992 17:17
20 lines
1452 bytes
In article <zisk-111292153206@macne010.boston.us.adobe.com> zisk@adobe.com  
(Stephen Zisk) writes:
> In article <MSL9EGP@math.fu-berlin.de>, beck@irzr17.inf.tu-dresden.de
> (Andre Beck) wrote:
> > How do I get a 1280x1024 pixel image that uses less than 256 colors
> > on the display WITHOUT any dithering ? In other words, how can I force
> > the XDPS system to allocate new colors ?
> 
> Preface: I am not a DPS expert, but I do have a manual in front of me,
> so here goes, and watch out for the trees!
> ...Bunch of other stuff deleted...

The answer is that in general you can't. The image operator as implemented in  
DPS/X does not pay attention to "actual" colors described in Stephen's  
message. All rendering other than images use these colors. By the way, the  
"actual" parameter is not a boolean as suggested in Stephen's message - it is  
a count. Finally, if you do need to use "actual" colors I suggest that rather  
than use the actual parameter to the XDPSCreateContext call, that you look at  
the setXrgbactual operator. It gives better control of the allocation of  
"actual" colors.
Technical Details
Message-ID: <6074@rosie.NeXT.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com
References: <zisk-111292153206@macne010.boston.us.adobe.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com
From: jpasqua@next.com (Joe Pasqua)
Newsgroups: comp.lang.postscript
Subject: Re: DPS Color use
Message-ID: <6074@rosie.NeXT.COM>
Date: 17 Dec 92 17:17:11 GMT
References: <zisk-111292153206@macne010.boston.us.adobe.com>
Sender: news@NeXT.COM
Reply-To: jpasqua@next.com
Lines: 20