From: mcbinc@world.std.com (Monty C. Brandenberg)
Subject: Re: Not enough significant bits in color specification
Date: 1997/12/04 [thread overview]
Message-ID: <EKnGEC.IAv@world.std.com> (raw)
In-Reply-To: 34861D91.4AE6F777@vehicle.elvis.me.berkeley.edu
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
prev parent reply other threads:[~1997-12-04 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-03 5:00 Not enough significant bits in color specification Mark Wilcutts
1997-12-04 5:00 ` Monty C. Brandenberg [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox