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

Home » Public Forums » archive » Problem with X display
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: Problem with X display [message #6697 is a reply to message #6694] Fri, 26 July 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
MICHEL KRUGLANSKI <M.Kruglanski@oma.be> wrote:

> I work on a DEC alpha station 600 with a ZLXPE2 24-planes graphic card.
> I use either IDL or PV-WAVE.
>
> I have a problem when I try to use 256 colors.
>
> idl (or wave)
>> print,!d.n_colors
> 256
>> window,col=256
>> print,!d.n_colors
> 16777216


If you have 256 colors available, then the possible color
indices are 0 - 255; you are requesting a color that is
"out of range". It looks like your system is changing the
visual class for you when you request a color that it
cannot provide.

This seems too easy. Please excuse me if I'm having a
"technically challenged" day.

Dave Foster
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: a BUG or not a BUG in IDL ?
Next Topic: Visual Numerics Web News

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

Current Time: Sun Oct 12 14:46:05 PDT 2025

Total time taken to generate the page: 1.35866 seconds