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

Home » Public Forums » archive » Re: 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
Re: Mac 32 bit color depth? [message #24226] Wed, 21 March 2001 09:34 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I hope that Thierry answeres this one.
I for one can say that yes, on the Mac you seem to only have a 32 bit
color depth as your true color option, unlike PCs where you can choose
between 24 and 32 bit.
I have had different information for what the fourth bit is used for. It
may be used for transparency calculations, this is what all new hot 3D
game accelerators do (I may be wrong in the exact terms). Photoshop help
says the following:
"In most cases, Lab, RGB, grayscale, and CMYK images contain 8 bits of
data per color channel. This translates to a 24-bit Lab bit depth (8
bits x 3�channels); a 24-bit RGB bit depth (8 bits x 3�channels); an
8-bit grayscale bit depth (8�bits x 1�channel); and a 32-bit CMYK bit
depth (8 bits x 4 channels). Photoshop can also read and import Lab,
RGB, CMYK, and grayscale images that contain 16 bits of data per color channel."
I am not sure how does Photoshop use the four available screen bytes, as
all I can imagine the monitor can do is RGB. Maybe Photoshop calculates
the approximate CMYK and does not use the other byte. But TV and TVRD do
not work properly on a 32 bit screen, and I think it is because a blank
fourth byte is being read by TVRD.
Hope this helps.
Pavel

Wayne Landsman wrote:
>
> 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
Previous Topic: NetCDF Attribute Inquiry
Next Topic: Minor problem with command line editing on SGIs

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

Current Time: Fri Oct 10 08:32:44 PDT 2025

Total time taken to generate the page: 0.00171 seconds