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

Home » Public Forums » archive » Mac 32 bit color depth?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Mac 32 bit color depth? [message #24241] Tue, 20 March 2001 10:55 Go to previous message
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
I have a simple program that tries to reset the default value of
!P.COLOR for the current (Mac, Win or X) device using the following
code:

device, get_visual_depth=depth
!P.Color = 256L^(depth/8) - 1

I am told that this fails on IDL V5.4 on a Mac since
device,/get_visual_depth returns a value of 32 (whereas !P.COLOR is
256L^24 -1). Can other Mac users verify this? What is the meaning
of a 32 bit visual depth?

Thanks, --Wayne

Wayne
Landsman
landsman@mpb.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: correlating two arrays
Next Topic: Re: line graph problems

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

Current Time: Wed Oct 08 15:37:55 PDT 2025

Total time taken to generate the page: 0.00428 seconds