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

Home » Public Forums » archive » Re: Problems with color tables and write_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: Problems with color tables and write_png [message #55880] Mon, 17 September 2007 14:58 Go to previous message
kathryn.ksm is currently offline  kathryn.ksm
Messages: 10
Registered: April 2006
Junior Member
>> Colormap: Shared, 16777216 colors. Translation table: Enabled
>
> Well, "enabled" bothers me. And it could explain a great
> many of these odd problems, it seems to me. Is it possible
> you are running some kind of a startup file (either IDL
> or .cshrc or something) that is turning this translation
> table feature on? Maybe something you got from a friend who
> doesn't have your best interests at heart?
>
> Anyway, try this:
>
> DEVICE, BYPASS_TRANSLATION=0
>

Ah, that's intriguing... actually, I think DEVICE,
BYPASS_TRANSLATION=1 is what I want. I had DEVICE,
BYPASS_TRANSLATION=0 in a startup file that, indeed, I got from a
friend (who probably didn't have my best interests in mind). Almost
everything else in that startup file makes sense to me, but I had no
idea about this one. And bingo! That seems to be the trick. By
setting the bypass to 1 I got a png file that actually looks right! I
think that might have solved the problem....

Thanks so much! Phew!

Kathryn
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with color tables and write_png
Next Topic: Adding Widgets to ENVI

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

Current Time: Sat Oct 11 14:18:26 PDT 2025

Total time taken to generate the page: 0.15707 seconds