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

Home » Public Forums » archive » Problem with TVRD(true=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
Problem with TVRD(true=1) [message #14014] Sat, 09 January 1999 00:00
kobaken is currently offline  kobaken
Messages: 2
Registered: August 1998
Junior Member
I seem to be having a strange problem with TVRD on a 24-bit display.
It seems to work as expected for images, but when I try something like

plot, f1, color='FFFFFF'x
oplot, f2, color='FF0000'x
oplot, f3, color='00FF00'x
;etc
image=TVRD(true=1)

only the red component is captured, with the green and blue components
completely empty. Using color_quan and making a GIF file results, of
course, in a red image.

I am running IDL 5.0 on a Solaris system. To get 24-bit displays I
access it from a PC by one of two ways: using a VNC (Virtual Network
Computing, ref: http://www.orl.co.uk/vnc/) viewer under Windows NT,
and using X windows under Linux. I get the exact same problem with
TVRD on both. Does anyone have any idea of what I am doing wrong?
I thought it was a problem with the X server, but the two methods are
using different X servers, so that couldn't be it, could it?

By the way, our news server doesn't seem to be getting all the
messages on this board, so I would appreciate e-mailed copies of
responses if possible.

- Ken

Ken Kobayashi
kobayash@sxt2.mtk.nao.ac.jp
[Message index]
 
Read Message
Previous Topic: Updated C code to call IDL or PV-WAVE
Next Topic: Re: Special Functions

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

Current Time: Wed Oct 08 19:33:00 PDT 2025

Total time taken to generate the page: 0.00436 seconds