Platforms to show: All Mac Windows Linux Cross-Platform

CSProfileMBS.CreateDeviceProfile(deviceClass as string, deviceID as CFUUIDMBS, profileID as Variant) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a device profile.
Notes:
deviceClass: ColorSync device class
deviceID: deviceID registered with ColorSync
profileID: profileID registered with ColorSync; pass kColorSyncDeviceDefaultProfileID to get the default profile.

See CSDeviceMBS for more info on deviceClass, deviceID and profileID

Returns nil on failure and Profile object on success.

Feedback, Comments & Corrections

CSProfileMBS.CreateLink(profileSequence() as dictionary, options as dictionary) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a link profile.
Notes:
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.

Returns nil on failure and Profile object on success.

Feedback, Comments & Corrections

CSProfileMBS.CreateWithData(data as string) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a profile with the data in the given string.
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.CreateWithData(data as string, byref error as CFErrorMBS) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a profile with the data in the given string.
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.CreateWithDisplayID(DisplayID as Integer) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a new profile with the given display.
Notes:
displayID: system-wide unique display ID (defined by IOKIt); pass 0 for main display.

Returns nil on failure and Profile object on success.

Feedback, Comments & Corrections

CSProfileMBS.CreateWithFile(file as folderitem) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a new profile based on the given file.
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.CreateWithFile(file as folderitem, byref error as CFErrorMBS) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a new profile based on the given file.
Example:
dim file as FolderItem = GetFolderItem("/System/Library/ColorSync/Profiles/Generic XYZ Profile.icc", FolderItem.PathTypeShell)
dim e as CFErrorMBS
dim p as new CSProfileMBS(file, e)

MsgBox p.Description
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.CreateWithName(name as string) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a profile with the given name.
Example:
dim s as string = CSProfileMBS.kColorSyncGenericXYZProfile
dim c as CSProfileMBS = CSProfileMBS.CreateWithName(s)
MsgBox c.Description
Notes: Returns nil on failure and Profile object on success.

Feedback, Comments & Corrections

CSProfileMBS.CreateWithURL(url as string) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a new profile based on the file at the given URL.
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.CreateWithURL(url as string, byref error as CFErrorMBS) as CSProfileMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Creates a new profile based on the file at the given URL.
Notes: Returns nil on failure and Profile object on success.

See also:

Feedback, Comments & Corrections

CSProfileMBS.EstimateGammaWithDisplayID(displayID as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Calculates the estimated gamma value for the given display.
Notes: displayID: system-wide unique display ID.

See also:

Feedback, Comments & Corrections

CSProfileMBS.EstimateGammaWithDisplayID(displayID as Integer, byref error as CFErrorMBS) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Calculates the estimated gamma value for the given display.
Notes: displayID: system-wide unique display ID.

See also:

Feedback, Comments & Corrections

CSProfileMBS.InstalledProfiles as dictionary()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: Queries the list of installed profiles.
Example:
dim a(-1) as Dictionary = CSProfileMBS.InstalledProfiles
dim lines(-1) as string

for each d as Dictionary in a
lines.Append d.Value(CSProfileMBS.kColorSyncProfileDescription)
next

MsgBox Join(lines,EndOfLine)
Notes: Returns an empty array on any error.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncAdobeRGB1998Profile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericCMYKProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericGrayGamma22Profile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericGrayProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericLabProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericRGBProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncGenericXYZProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the predefined profile names.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileClass as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileColorSpace as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileDescription as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileHeader as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileMD5Digest as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfilePCS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncProfileURL as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

CSProfileMBS.kColorSyncSRGBProfile as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method ColorSync MBS MacCF Plugin 10.5 Yes No No Yes, macOS only No
Function: One of the tag signature constants.
Notes: Can be used with the dictionary returned by the InstalledProfiles method.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCF Plugin.

The biggest plugin in space...




Links
MBS FileMaker blog