[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: write_ppm (newbie)
Craig John Wallace wrote:
> Trouble is this only seems to write is as a gray-scale image, and if I
> try....
>
> write_ppm,filename, tvrd(),r,g,b
>
> (having done tvlct,/get,r,g,b)
>
> ..IDL won't have it, as there are the incorrect number of arguements
> following the function. How can I get a color ppm?
You need to give write_ppm a true-color image:
write_ppm, filename, tvrd( true=1 ) (or maybe true=3)
Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de