The Quartz constants shown in Table 4-1 specify the byte ordering of pixel formats. These constants, which are defined in the CGImage.h header file, are used in the bitmapInfo parameter. To specify byte ordering to Quartz, use a bitwise OR operator to combine the appropriate constant with the bitmapInfo parameter.
Constant |
Specifies |
|---|---|
|
The byte order mask |
|
16-bit, big-endian format |
|
32-bit, big-endian format |
|
16-bit, little-endian format |
|
32-bit, little-endian format |
|
16-bit, host-endian format |
|
32-bit, host-endian format |
Last updated: 2007-02-26