dave@Solbourne.COM (Dave Plunkett) (09/16/89)
Is there an Xlib interface for finding a named color on a standard colormap? For example, can I get the pixel value for color "Blue" on the standard colormap RGB_BLUE_MAP? How about colors that don't match exactly? Can I find an approximation to the color "Aquamarine" on the RGB_BEST_MAP? Dave Plunkett Solbourne Computer, Inc. dave@solbourne.com 1900 Pike Road {boulder,nbires,sun}!stan!dave Longmont, CO 80501
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/18/89)
Is there an Xlib interface for finding a named color on a standard colormap? No. You'll have to use XLookupColor or XParseColor and then do the mapping.
dave@Solbourne.COM (Dave Plunkett) (09/19/89)
Some PEX application/server combinations may require the use of the RGB_BEST_MAP. Is there any agreed upon way that a user can suggest to other clients that they also use this colormap? Looking For a Way to Reduce Colormap Thrashing, dave
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (10/11/89)
No real support was provide in R2 or R3 for creating standard colormaps, only for reading them back once created. There will be creation support in R4.
cristy@eplrx7.uucp (John Cristy) (06/07/90)
I need examples of standard colormap attributes from different X servers to help me implement standard colormap code. Could someone Email me the 'properties' file produced on your server from these commands: xstdcmap -all xprop -root > properties I am particularly interested in the results from 24/32 bit servers. Thanks muchly in advance. cristy@dupont.com -- The UUCP Mailer