Re: color labrynth [message #29932] |
Wed, 27 March 2002 06:38 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
David Fanning <david@dfanning.com> writes:
...
>
> I'd just use TVREAD from my web page:
>
> http://www.dfanning.com/programs/tvread.pro
>
> Or, just steal the source code and see how it is
> done. You don't even need Craig's neat new tool. :-)
Depends on which tool. How about PLOTIMAGE? :-)
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|
Re: color labrynth [message #29953 is a reply to message #29932] |
Tue, 26 March 2002 10:04  |
HILBERMAN
Messages: 7 Registered: July 2001
|
Junior Member |
|
|
David Fanning wrote:
> HILBERMAN (hilberma@colorado.edu) writes:
>
>> I am caught in the middle of a 24-bit v. 8-bit ping pong match for color
>> graphics and my brain is starting to hurt. Need help.
>>
>> THE PROBLEM: When I plot a perfectly beautiful, multi-color graph and
>> try to save it to a bitmap file, the color is either not preservered
>> (i.e. seems to revert to the B&W indexed color model?), or it is not
>> preserved AND the lines are faint to none. (Depending, it seems, on
>> whether or not I choose decomposed equal to 1 or 0.)
>>
>> THE PLATFORM: I have been toying with the problem on a Sun Solaris 8,
>> although I have also bounced over to the IDL on my Windows 2000 to see
>> if it makes a difference (it doesn't).
>>
>> As mentioned above, I have varied the device values (mainly Decomposed
>> and True_Color), but I haven't found a solution. Clearly, this arena
>> of 8-bit v. 24-bit color tables is new to me, and I would appreciate any
>> help you may have.
>
> I'd just use TVREAD from my web page:
>
> http://www.dfanning.com/programs/tvread.pro
>
> Or, just steal the source code and see how it is
> done. You don't even need Craig's neat new tool. :-)
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> 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
Thanks! I had looked through your programs for ideas, but I missed that
one. It works like a charm.
:-)
|
|
|
Re: color labrynth [message #29959 is a reply to message #29953] |
Tue, 26 March 2002 08:54  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
HILBERMAN (hilberma@colorado.edu) writes:
> I am caught in the middle of a 24-bit v. 8-bit ping pong match for color
> graphics and my brain is starting to hurt. Need help.
>
> THE PROBLEM: When I plot a perfectly beautiful, multi-color graph and
> try to save it to a bitmap file, the color is either not preservered
> (i.e. seems to revert to the B&W indexed color model?), or it is not
> preserved AND the lines are faint to none. (Depending, it seems, on
> whether or not I choose decomposed equal to 1 or 0.)
>
> THE PLATFORM: I have been toying with the problem on a Sun Solaris 8,
> although I have also bounced over to the IDL on my Windows 2000 to see
> if it makes a difference (it doesn't).
>
> As mentioned above, I have varied the device values (mainly Decomposed
> and True_Color), but I haven't found a solution. Clearly, this arena
> of 8-bit v. 24-bit color tables is new to me, and I would appreciate any
> help you may have.
I'd just use TVREAD from my web page:
http://www.dfanning.com/programs/tvread.pro
Or, just steal the source code and see how it is
done. You don't even need Craig's neat new tool. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
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
|
|
|