PDA

View Full Version : Thousands of colors?!?


Johan
2002.05.10, 02:01 PM
I've been looking all over Apples developer site for a spec on the "thousands color" format, but I just can't find it. Does anyone know if it's unspecified or if they're using some standard format like RGB565 or ARGB1555?

If it's not a standard format, how can you extract the color masks from a GDevice/GWorld/Pixmap?

I'm using Quickdraw/Carbon/MacOS9

Thanks,
Johan Persson

NCarter
2002.05.10, 03:18 PM
It's ARGB1555, or 'k16BE555PixelFormat' as Quickdraw.h would have it. I believe that this is always the case on the Mac.

Johan
2002.05.10, 04:35 PM
Thanks, that helps alot.

/Johan Persson