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

Home » Public Forums » archive » gamma correction
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: gamma correction [message #31327 is a reply to message #31261] Wed, 03 July 2002 15:05 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
"Craig Markwardt" <craigmnet@cow.physics.wisc.edu> wrote in message
news:onu1nncb6p.fsf@cow.physics.wisc.edu...
>
> David Fanning <david@dfanning.com> writes:
>
>> Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:
>>
>>> Beautiful rose, thank you very much! IDL versions checked from
>>> 5.2 to 5.4.
>>
>> That's what I thought. And that's why Dick's first solution
>> won't work for you. Those babies are not going through
>> the color tables. :-)
>
> Okay, now I guess I understand. Actually you fooled me, I thought the
> beautiful flower was the right answer. :-)
>
> Let me say that I think that the Windows/Mac approach, while it may be
> neato/keen, is just plain wrong. It's documented nowhere! The system
> documentation for DEVICE, DECOMPOSED=1 mentions nothing about such a
> transformation. There should be a documented flag to enable this, and
> then it should work consistently across platforms, darnit!

Having confirmed with Craig that this is the same behaviour on the X
device under True_Color=24 or Direct_Color=24 (which is different from
Windows), all I can say is "humph".

I think it's really a useful feature. If you can fiddle with a grayscale
image by just changing the colortable, why not have the same thing with
an RGB image? That's how it made sense to me when I discovered this
feature/bug, anyway.


Thanks for clearing this up, guys!

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Inside rectangle
Next Topic: Re: sorting array column/rowwise

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

Current Time: Tue Jul 07 03:31:15 PDT 2026

Total time taken to generate the page: 4.31862 seconds