Platforms to show: All Mac Windows Linux Cross-Platform
Back to CSProfileMBS class.
CSProfileMBS.Constructor(data as string, byref error as CFErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On success the handle property is not zero.
See also:
CSProfileMBS.Constructor(DisplayID as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
displayID: system-wide unique display ID (defined by IOKIt); pass 0 for main display.
On success the handle property is not zero.
See also:
CSProfileMBS.Constructor(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On success the handle property is not zero.
See also:
CSProfileMBS.Constructor(file as folderitem, byref error as CFErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On success the handle property is not zero.
See also:
CSProfileMBS.Constructor(name as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On success the handle property is not zero.
See also:
CSProfileMBS.Constructor(profileSequence() as dictionary, options as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
profileSequence: An array of dictionaries, each one containing a profile object and the information on the usage of the profile in the transform.
Required keys:
kColorSyncProfile: CSProfileMBS
kColorSyncRenderingIntent: String defining rendering intent
kColorSyncTransformTag: String defining which tags to use
Optional key:
kColorSyncBlackPointCompensation: Boolean to enable/disable BPC
options: dictionary with additional public global options (e.g. preferred CMM, quality, etc... It can also contain custom options that are CMM specific.
On success the handle property is not zero.
See also:
CSProfileMBS.ContainsTag(signature as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CSProfileMBS.Edit as CSMutableProfileMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns nil on any error.
CSProfileMBS.EstimateGamma as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns non-zero value if success or 0.0 in case of error.
See also:
CSProfileMBS.EstimateGamma(byref error as CFErrorMBS) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns non-zero value if success or 0.0 in case of error.
See also:
CSProfileMBS.File as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
CSProfileMBS.File(byref error as CFErrorMBS) as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns a 16 byte string with the raw bytes of the signature.
Returns an empty string on any error.
CSProfileMBS.RawTag(signature as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CSProfileMBS.TagSignatures as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
CSProfileMBS.URL(byref error as CFErrorMBS) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
CSProfileMBS.Verify(byref errors as CFErrorMBS, byref warnings as CFErrorMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
errors: returns error strings in case problems are found which would prevent use of the profile.
warnings: returns warning strings indicating problems due to lack of conformance with the ICC specification, but not preventing use of the profile.
Returns true if profile can be used or false otherwise.
The items on this page are in the following plugins: MBS MacCF Plugin.