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

Home » Public Forums » archive » Re: 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
Re: color problem when capture the object window [message #38611 is a reply to message #38596] Thu, 11 March 2004 14:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Songtao Liu writes:

> 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.

What makes you think the color of the captured
screen image is not correct? What are you doing
with the image? A little code, if you please. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Announcing GDL 0.7, now with PLOT command
Next Topic: Poisson eq solver?

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

Current Time: Fri Dec 05 18:15:19 PST 2025

Total time taken to generate the page: 0.01617 seconds