Platforms to show: All Mac Windows Linux Cross-Platform

WindowsICMProfileMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for a color profile.

Creation Mode Constants

Constant Value Description
CREATE_ALWAYS 2 Creates a new profile. Overwrites the profile if it exists.
CREATE_NEW 1 Creates a new profile. Fails if the profile already exists.
OPEN_ALWAYS 4 Opens the profile if it exists. For ICC profiles, if the profile does not exist, creates the profile. For WCS XML profiles, if the profile does not exist, returns an error.
OPEN_EXISTING 3 Opens the profile. Fails if it does not exist
TRUNCATE_EXISTING 5 Opens the profile, and truncates it to zero bytes, returning a blank ICC profile. Fails if the profile doesn't exist.

Profile sharing flags

Constant Value Description
FILE_SHARE_READ 1 Other open operations can be performed on the profile for read access.
FILE_SHARE_WRITE 2 Other open operations can be performed on the profile for write access. Has no effect for WCS XML profiles.

Profile access flags

Constant Value Description
PROFILE_READ 1 Opens the profile for read access.
PROFILE_READWRITE 2 Opens the profile for both read and write access. Has no effect for WCS XML profiles.

CreateICCProfile Flags

Constant Value Description
WCS_DEFAULT 0 Specifies that the new ICC profile contains the original WCS profile in a private WcsProfilesTag.
WCS_ICCONLY &h00010000 Specifies that the new ICC profile does not contain either the WcsProfilesTag or the original WCS profile.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries


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


WindowsICMProfileHeaderMBS   -   WindowsICMSetupMBS


The biggest plugin in space...