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

Home » Public Forums » archive » Re: Why does color change to b/w when using PNG?
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: Why does color change to b/w when using PNG? [message #38523 is a reply to message #38521] Wed, 17 March 2004 09:56 Go to previous messageGo to previous message
bleau is currently offline  bleau
Messages: 24
Registered: November 1993
Junior Member
In article <c6d70400.0403161901.71f0d9b8@posting.google.com>, andrew.cool@dsto.defence.gov.au (Andrew Cool) writes:
[snip]
>
>> So, what's different between these two plot types (PS vs. PNG) that would
>> cause the same code to produce different results? TIA.
>
> Wouldn't WRITE_PNG do the job for you?? Along with the R,G,B parameters.

I already use WRITE_PNG, after I call TVRD(). I just don't pass WRITE_PNG
the R,G,B parameters, and use the ones in the color table instead.

Do you know of a reason using TVLCT would not work for PNG files, and that
one might be required to call WRITE_PNG with R,G,B explicitly?

I will, however, try this and get back to you.

Lawrence Bleau
University of Maryland
Physics Dept., Space Physics Group
301-405-6223
bleau@umtof.umd.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: dynamically change the layout of widget
Next Topic: Problem with pointers to structures

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

Current Time: Fri Oct 10 16:30:44 PDT 2025

Total time taken to generate the page: 1.00983 seconds