[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mac 32 bit color depth?
- Subject: Mac 32 bit color depth?
- From: Wayne Landsman <landsman(at)mpb.gsfc.nasa.gov>
- Date: Tue, 20 Mar 2001 13:55:49 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Raytheon ITSS
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24061
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