Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Not enough significant bits in color specification
@ 1997-12-03  5:00 Mark Wilcutts
  1997-12-04  5:00 ` Monty C. Brandenberg
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wilcutts @ 1997-12-03  5:00 UTC (permalink / raw)



Hi Folks,

An application I'm trying to use (Xmath) spits out an error message
whenever I try to plot that it needs more than 64 colors. The machine
is a DEC Alphastation 255 running Digital Unix ver. 4.0. The display
adapter is a #9 Vision 330 with 4 MB memory, set at 256 colors
supposedly.
 
When I run xdpyinfo i get as the last few lines:

  visual:
    visual id:    0x21
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    6 bits

Why are there only 6 significant bits in the color spec and how do I
bump them up to 8?

thanks for help
--
Mark Wilcutts
(remove elvis to reply)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Not enough significant bits in color specification
  1997-12-03  5:00 Not enough significant bits in color specification Mark Wilcutts
@ 1997-12-04  5:00 ` Monty C. Brandenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Monty C. Brandenberg @ 1997-12-04  5:00 UTC (permalink / raw)



In <34861D91.4AE6F777@vehicle.elvis.me.berkeley.edu> Mark Wilcutts wrote:
> Hi Folks,
> 
> An application I'm trying to use (Xmath) spits out an error message
> whenever I try to plot that it needs more than 64 colors. The machine
> is a DEC Alphastation 255 running Digital Unix ver. 4.0. The display
> adapter is a #9 Vision 330 with 4 MB memory, set at 256 colors
> supposedly.
>  
> When I run xdpyinfo i get as the last few lines:
> 
>   visual:
>     visual id:    0x21
>     class:    PseudoColor
>     depth:    8 planes
>     available colormap entries:    256
>     red, green, blue masks:    0x0, 0x0, 0x0
>     significant bits in color specification:    6 bits
> 
> Why are there only 6 significant bits in the color spec and how do I
> bump them up to 8?
>

'Significant bits' refers to the number of useful bits in each color,
out of a maximum of 16 supported by the protocol, not the number
of entries in the colormap, which is 256 in your case.  It appears
that either Xmath isn't smart enough to get a private colormap or
you must specify an option to get it to allocate a private colormap.
If it won't do either, exit any color-consuming applications,
such as netscape, xv, and even dtwm, start Xmath, then restart any
important apps.  Get rid of any color-eating background pixmap.


--
Monty Brandenberg					  Software Consultant
MCB, Inc.
mcbinc@world.std.com					
617.864.6907					




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-04  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-03  5:00 Not enough significant bits in color specification Mark Wilcutts
1997-12-04  5:00 ` Monty C. Brandenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox