comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 24-bit color problem on Red Hat Linux 7.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 24-bit color problem on Red Hat Linux 7.1 [message #30426 is a reply to message #30417] Wed, 24 April 2002 12:57 Go to previous messageGo to previous message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
On Wed, 24 Apr 2002 14:10:17 -0400, Amar Nayegandhi
<anayegan@csee.usf.edu> wrote:
> Hi,
> Thanks for your suggestion. I think I now know what the problem was. I
> have this "32-bit" Matrox G450 graphics card. Earlier, I had configured
> my X-display to 24/8bit, which I think meant that idl was working on an
> 8-bit set up while the rest of my screen was 24-bit (which might explain
> flashing colors *ONLY* when my mouse cursor was on an 'active' colorbar).
> I changed my X-display to 24-bit only, and with a startup file similar to
> the one below, I do get true colors.
>

maybe OT, but your X-server allows this split display mode (e.g. an 8-bit
window on a 24-bit desktop)? Do you really have a need for this (some app
that can only run in a lower color mode, for instance)? I usually run my
X-server in 32bpp mode, which is 24-bit color with what I _think_ is an
alpha layer or something similar. Anyways, X usually behaves much better
than if set for 24bpp (which also will give 24-bit color). Something to
think about.

> Further, while I got those flashing colors, I was able to dump graphics
> from a current window to a tiff file. I cannot do that now. Which is my
> follow up question:
> Is there any way in which I can write out a tiff file dumped from a
> window (using the write_tiff command) while I am in true color mode? If
> tvrd() will not work, is there any other way of doing it?
>
> thanks in advance,
> amar
>
>
> On Tue, 23 Apr 2002, Robert Stockwell wrote:
>
>>
>>
>> Amar Nayegandhi wrote:
>>
>>> Hi,
>>> I have a problem using a color table on Red Hat Linux 7.1. I have
>>> downloaded the patch available at the rsinc website to resolve the
>>> striping effect, but there is one more problem.
>>> Any image that I display (for e.g. with a plot/plots command), shows up
>>> in black and white. When I call xloadct or annotate and place my mouse on
>>> the colorbar, I get flashing colors.
>>> What do I need to do to get rid of this problem? My graphics card
>>> supports 24-bit true (direct) color.
>>> Thanks in advance,
>>> -amar
>>
>>>
>>> ****************************************************
>>> Amar Nayegandhi
>>> ****************************************************
>>>
>>>
>>
>> Do you have a device,true=24 statement in your startup?
>>
>> I start with the following:
>>
>> device,true=24
>> device,retain = 2
>> device,decomposed=0
>>
>> Are you sure you are really in 24 bit color mode?
>>
>>
>> Cheers,
>> bob
>>
>>
>>
>
> ****************************************************
> Amar Nayegandhi
> ****************************************************
>


--
Steve S.

steve@NOSPAMmailaps.org
remove NOSPAM before replying
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: not sure what to call this request
Next Topic: signed character

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:24:23 PDT 2025

Total time taken to generate the page: 0.00487 seconds