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

Home » Public Forums » archive » Problems with tvrd(),true=1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problems with tvrd(),true=1 [message #19086] Thu, 24 February 2000 00:00 Go to next message
Med Bennett is currently offline  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.
Re: Problems with tvrd(),true=1 [message #19170 is a reply to message #19086] Fri, 25 February 2000 00:00 Go to previous message
kbowman is currently offline  kbowman
Messages: 5
Registered: February 2000
Junior Member
In article <38B5A564.8EB3AFAF@indra.com>, mbennett@indra.com wrote:

>> a=tvrd(),true=1

Should be

a = tvrd(true=1)

Regards, Ken
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Frame Grabber
Next Topic: Interpolation: grid --> observation point

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

Current Time: Wed Oct 08 18:40:37 PDT 2025

Total time taken to generate the page: 0.00606 seconds