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

Home » Public Forums » archive » Re: Using Perl w/idl
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: Using Perl w/idl [message #28850] Mon, 14 January 2002 07:12
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Tina (ttsui@pop500.gsfc.nasa.gov) writes:

> I am trying to run idl w/perl script. I do a system call for IDL w/in
> perl script.
>
> When I do
>
> tvlct, R_CURR, G_CURR, B_CURR, /get
> write_png, 'file.png', tvrd(true=1), R_CURR, G_CURR, B_CURR
>
> the image is saved upside down. I am using IDL 5.4 Does any one know
> how to correct this problem?

write_png, 'file.png', Reverse(tvrd(true=1),3), R_CURR, G_CURR, B_CURR

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: Using Perl w/idl
Next Topic: Re: set_plot, 'win/x'

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

Current Time: Sat Oct 11 14:08:39 PDT 2025

Total time taken to generate the page: 1.04225 seconds