Returns the pixel encoding of the specified display mode.
- macOS 10.6–10.11Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- Core Graphics
A display mode for which to find the associated pixel encoding.
A string representing the pixel encoding of the specified display mode. This string is expressed as a
CFString type containing an I/O Kit graphics mode. The caller is responsible for releasing the string.
The returned string can be used to determine various aspects of the pixel encoding, such as bits per pixel and bits per sample. For more information, see the header file IOKit/IOGraphicsTypes.h in IOKit.