[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: device, get_decomposed question



In article <37E1152F.B9AA0197@ssec.wisc.edu>,
	Liam Gumley <Liam.Gumley@ssec.wisc.edu> writes:
> Apparently there's something odd happening in IDL for UNIX (at least on my SGI box).

Hi Liam,

    seems to be the same problem as I recently pointed out to you for my 
Linux box: as you mentioned yourself if you seperate the 
device,decomposed=0 statement from the device,true=24 statement it
should also work (? cannot test it right now since I only have 8 bit
color at work).

Cheers,
Martin

> Here's an example I just ran in a new IDL 5.2 session without a startup file:
> 
> device, true=24, decomposed=0
> device, get_decomposed=decomp
> print, decomp
>       1
> [...]
> The following session however gives the desired blue/white image:
> 
> device, true=24, decomposed=0
> window, /free    ;- Lock in truecolor un-decomposed mode
> device, get_decomposed=decomp
> print, decomp
>       0
> [...]
> 
> IDL 5.2 under Windows does not have this problem: both of the examples above produce a
> blue/white image.
> 
> Cheers,
> Liam.

-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[     Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 441787                     [[
[[     martin.schultz@dkrz.de                                    [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[