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

Home » Public Forums » archive » color problem when capture the object window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
color problem when capture the object window [message #38618] Thu, 11 March 2004 12:50
lius02 is currently offline  lius02
Messages: 6
Registered: November 2003
Junior Member
Hi Guys,

I meet a color problem when capture the images of object window. I
have a small program with 5 object windows and I use following codes
to change the color table and capture the display in the window

;call xloadct
xloadct, /modal, group = event.top

;get the changed color table
tvlct, R, G, B, /get

;change the palette object
opalette ->setProperty, red_values = R, green_values = g, blue_values
= b

;capture the window display
draw_id -> getProperty, image_data = data


If using BW color table, the captured screen image is correct,
otherwise, the color of the captured screen image is not correct. I
cannot figure out the problem. Any suggestions will be highly
appreciated.

Thanks,

Songtao
[Message index]
 
Read Message
Previous Topic: Re: Interrupting a loop in a GUI
Next Topic: IDL 6.0 Patch Now Available

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

Current Time: Sat Oct 11 10:33:16 PDT 2025

Total time taken to generate the page: 1.20027 seconds