[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000302: Gempak colors
- Subject: 20000302: Gempak colors
- Date: Thu, 02 Mar 2000 09:42:14 -0700
Ka Kit,
As we thought, your display is set for 24buit true color instead of pseudocolor.
> default visual id: 0x20
> visual id: 0x20
> class: TrueColor
Your documentation for that software should show you how to
configure it. You can configure your X software to provide
both 24 bit color and 8 bit color- the point here is that the "default"
visual will have to be 8 bit for Gempak to run. Other software like
can use the 24 bit color planes. McIDAS will work properly with
8 bit default visuals.
The downside to 8 bit colo is that uyou only have 256 colors instead
of 16 million. But that is the only way to run Gempak.
Steve Chiswell
Unidata User Support
>From: "Ka Kit Lai" <address@hidden>
>Organization: .
>Keywords: 200003021540.IAA03729
>Steve:
> The following is the output from xdpyinfo:
>
>name of display: 134.74.64.12:0.0
>version number: 11.0
>vendor string: MIT X Consortium
>vendor release number: 5000
>maximum request size: 262140 bytes
>motion buffer size: 0
>bitmap unit, bit order, padding: 32, LSBFirst, 32
>image byte order: LSBFirst
>number of supported pixmap formats: 1
>supported pixmap formats:
> depth 32, bits_per_pixel 32, scanline_pad 32
>keycode range: minimum 1, maximum 246
>focus: PointerRoot
>number of extensions: 0
>default screen number: 0
>number of screens: 1
>
>screen #0:
> dimensions: 794x575 pixels (169x127 millimeters)
> resolution: 119x115 dots per inch
> depths (2): 1, 32
> root window id: 0x24
> depth of root window: 32 planes
> number of colormaps: minimum 1, maximum 1
> default colormap: 0x22
> default number of colormap cells: 256
> preallocated pixels: black 0, white 16777215
> options: backing-store YES, save-unders YES
> largest cursor: unlimited
> current input event mask: 0xd0001d
>KeyPressMask ButtonPressMask ButtonReleaseMask
>EnterWindowMask SubstructureRedirectMask PropertyChangeMask
>ColormapChangeMask
> number of visuals: 1
> default visual id: 0x20
> visual:
> visual id: 0x20
> class: TrueColor
> depth: 32 planes
> available colormap entries: 256 per subfield
> red, green, blue masks: 0xff, 0xff00, 0xff0000
> significant bits in color specification: 8 bits
>
>First of all, do you know how can I change the color class to Pseudocolor
>because I see this display drive only support high and true color. Second of
>all, if I change the configuration of the display, will that affect some
>other application running on that PC? Or will that affect the Mcidas running
>on this PC too? Thank you.
>
> Ka Kit Lai
>>From: Unidata Support <address@hidden>
>>To: "Ka Kit Lai" <address@hidden>
>>CC: address@hidden
>>Subject: 20000301: Gempak
>>Date: Wed, 01 Mar 2000 14:52:25 -0700
>>
>>Ka Kit,
>>
>>Gempak requires the X display to be running the default visual id
>>in 8 bit pseudocolor mode. You should be able to see if this
>>is the case using the xdpyinfo command to that display.
>>
>>If you are using a truecolor visual for that default display,
>>you will have to reconfigure it.
>>
>>An example of a previous message dealing with this same issue is shown at:
>>
>>http://www.unidata.ucar.edu/glimpse/gempak/3373
>>http://www.unidata.ucar.edu/glimpse/gempak/3369
>>
>>Steve Chiswell
>>Unidata User Support
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>