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

Home » Public Forums » archive » IDL color problem in linux
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL color problem in linux [message #39305] Wed, 05 May 2004 10:20
rama.mundakkara is currently offline  rama.mundakkara
Messages: 2
Registered: May 2004
Junior Member
I have been running some IDL codes on SGI IRIX machine
to generate some colored JPEG plots. I use the following
commands for color:

device, decomposed=0
LoadCT, 2
red=[1,0,1,0,0,1] & green=[1,0,0,1,0,1] & blue=[1,0,0,0,1,0]
tvlct, 250*red, 250*green, 250*blue; white=0,black=1,red=2,green=3,
; blue=4, yellow=5


Then after creating the plot, I generate the JPEG as follows:

image=tvrd(true=1)

write_jpeg, 'test.jpg', image, true=1, quality=75

These worked very well when I executed the IDL code on SGI IRIX
machine. However, it is failing in LINUX platform. If some one could
give some helpful suggestions I would be highly grateful.
[Message index]
 
Read Message
Previous Topic: Re: labelsize in David Fanning's fsc_field, or choosing fonts for widgets
Next Topic: Re: IDL on a 64bits SGI altix computer

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

Current Time: Fri Oct 10 11:59:33 PDT 2025

Total time taken to generate the page: 1.04261 seconds