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

Home » Public Forums » archive » Re: 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 #31222] Fri, 28 June 2002 07:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:

> What are you talking about here David?
>
> When I use DEVICE, DECOMPOSED=0, I can use the 256 entry color table.
> You taught me that incantation! :-)

OK, here is the test. Run this in a fresh IDL session.

;*********************************************************** *
PRO TEST

; Get 24-bit JPEG image.

file = FilePath('rose.jpg', SubDir=['examples', 'data'])
Read_JPEG, file, rose

; Display it by running through ugly color table.

LOADCT, 5
DEVICE, TRUE_COLOR=24, DECOMPOSED=0
TV, rose, TRUE=1
END
;*********************************************************** *

Does your display have a beautiful rose in it, or
does it look, well, strange?

Please tell us what version of IDL you are using, too.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Delvar?
Next Topic: Delvar?

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

Current Time: Sun Oct 12 05:07:03 PDT 2025

Total time taken to generate the page: 1.67954 seconds