Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!sun-barr!lll-winken!unixhub!shelby!neon!rfischer From: rfischer@Neon.Stanford.EDU (Raymond C. Fischer) Newsgroups: comp.sys.mac.programmer Subject: Re: ColorQD vs QD32 Message-ID: <1990Oct24.195849.21546@Neon.Stanford.EDU> Date: 24 Oct 90 19:58:49 GMT References: <11285@hacgate.UUCP> Organization: Computer Science Department, Stanford University Lines: 31 In article <11285@hacgate.UUCP> hsieh@rscene.hac.com (Julia Hsieh) writes: >How do I use 32 bit QuickDraw? How is it different from Color QuickDraw >which is documented in IM vol V? I have an image file that contains >10 bits of color that maps into 24 bits of rgb. I can generate an internal >lookup table, but can't figure out how to display it in 24 bits. > >Is 32 bit QD documented somewhere? > >There is probably a real easy answer, but I can't find it. Any help >would be greatly appreciated. Wrong. No easy answer. Fortunately, not too difficult either. 32bit CQD is a superset of 8bit CQD. The calls in IM-V still apply, but now there are a few new ones and the old ones do more. In general, the routines described in IM-V all take RGB colors already. With 32bit CQD, if the color can be displayed in 24-bit color (i.e., you have a 24-bit color card) it will be. Thus, all you have to do is set your monitor to 24-bit color and display the image as usual. This assumes you have 32bit CQD (Color QuickDraw) installed. If you have an SE/30, Mac II, IIx, or IIcx you'll need to put the 32-bit color quickdraw file in your system folder and reboot. The file has been available on system software disks since 6.0.5. Of course, I've glossed over a LOT of details. 32bit CQD is described in the first issue of Develop. The official documentation is available from APDA. Ray Fischer rfischer@cs.stanford.edu