ColorSyncProfileCreateDisplayTransferTablesFromVCGT(_:_:)
Creates display transfer tables from the profile’s vcgt tag.
Declaration
func ColorSyncProfileCreateDisplayTransferTablesFromVCGT(_ profile: ColorSyncProfile!, _ nSamplesPerChannel: UnsafeMutablePointer<Int>!) -> Unmanaged<CFData>?Discussion
Creates three tables of floats (a red table, a green table, and a blue table), each of size nSamplesPerChannel, packed into contiguous memory contained in the returned CFDataRef, from the vcgt tag of the profile (if a vcgt tag exists in the profile). CGSetDisplayTransferByTable uses these tables.