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

Home » Public Forums » archive » Re: write_ppm (newbie)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: write_ppm (newbie) [message #24930] Fri, 04 May 2001 07:09
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Large data sets
Next Topic: Re: Large data sets

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

Current Time: Wed Oct 08 17:11:19 PDT 2025

Total time taken to generate the page: 0.01563 seconds