Problems with tvrd(),true=1 [message #19086] |
Thu, 24 February 2000 00:00  |
Med Bennett
Messages: 109 Registered: April 1997
|
Senior Member |
|
|
I am trying to read and save a sequence of images on my display. When I
do this, I get an error, and I can't figure out why. Decomposed on or
off gives the same result, as does any value of TRUE, i.e. 1,2,or 3.
What does this mean?
> Current graphics device: WIN
> Screen Resolution: 1280x1024
> Simultaneously displayable colors: 16777216
> System colors reserved by Windows: 0
> IDL Color Table Entries: 256
> NOTE: this is a TrueColor device
> Using Decomposed color
> Graphics Function: 3 (copy)
> Current Font: System
> Default Backing Store: None.
> Window Status: (ID: Type(x, y, backing store))
> 0: Window ( 550, 898, Pixmap)
>
> IDL> a=tvrd(),true=1
>
> a=tvrd(),true=1
> ^
> % Syntax error.
>
IDL Online Help says
TRUE
If this keyword is present, it indicates that a true-color image is to
be read, if the display is capable. The value assigned to TRUE specifies
the index of the dimension over which color is interleaved. The result
is an (3, nx, ny) pixel-interleaved array if TRUE is 1; or an (nx, 3,
ny) line-interleaved array if TRUE is 2; or an (nx, ny, 3)
image-interleaved array if TRUE is 3.
|
|
|
|