Platforms to show: All Mac Windows Linux Cross-Platform

Back to LCMS2ProfileMBS class.

LCMS2ProfileMBS.ChannelCount as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the number of channels used for the colorspace of this profile.
Example
Var p as LCMS2ProfileMBS = LCMS2ProfileMBS.CreateSRGBProfile
MsgBox str(p.ChannelCount)

(Read only property)

LCMS2ProfileMBS.ColorSpaceType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets/Sets the color space used by the given profile, using the ICC convention.

(Read and Write property)

LCMS2ProfileMBS.context as LCMS2ContextMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The context for this profile.

Error handling uses it, so you can see which part of your application failed.
(Read only property)

LCMS2ProfileMBS.DeviceClass as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets/sets the device class signature from profile header.

Device Classes:

kcmsSigInputClass&h73636E72scnr
kcmsSigDisplayClass&h6D6E7472mntr
kcmsSigOutputClass&h70727472prtr
kcmsSigLinkClass&h6C696E6Blink
kcmsSigAbstractClass&h61627374abst
kcmsSigColorSpaceClass&h73706163spac
kcmsSigNamedColorClass&h6e6d636cnmcl
(Read and Write property)

LCMS2ProfileMBS.File as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The file reference.

Only set for file based profiles, so you can later know what file you used to create the profile object.
(Read and Write property)

LCMS2ProfileMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Internal object reference.

(Read and Write property)

LCMS2ProfileMBS.HeaderAttributes as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set header attribute flags.

Flags can be a combination of kcmsReflective,kcmsTransparency,kcmsGlossy or kcmsMatte.
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.HeaderCreationDateTime as LCMS2DateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the date and time when profile was created.

This is a field stored in profile header.
Returns nil on any error.
(Read only property)

Some examples using this property:

LCMS2ProfileMBS.HeaderCreator as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 13.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set the creator signature as described in the header.

(Read only property)

LCMS2ProfileMBS.HeaderFlags as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get or set header flags of given ICC profile object.

The profile flags field does contain flags to indicate various hints for the CMM such as distributed processing and caching options. The least-significant 16 bits are reserved for the ICC. Flags in bit positions 0 and 1 shall be used as indicated below.

PositionField Length (bits)Field Contents
01Embedded Profile (kcmsEmbeddedProfileFalse if not embedded, kcmsEmbeddedProfileTrue if embedded in file)
11Profile cannot be used independently from the embedded color data (set to kcmsUseWithEmbeddedDataOnly if true, kcmsUseAnywhere if false)
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.HeaderManufacturer as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set the manufacturer signature as described in the header.

This funcionality is widely superseded by the manufaturer tag. Of use only in elder profiles.
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.HeaderModel as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set the model signature as described in the header.

This funcionality is widely superseded by
the model tag. Of use only in elder profiles.
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.HeaderProfileID as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set header profile ID.

Profile ID must be a 16 byte long string.
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.IsMatrixShaper as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns whatever a matrix-shaper is present in the profile.

Note that a profile may hold matrix-shaper and CLUT as well.
Returns true if the profile holds a matrix-shaper, false otherwise.
(Read only property)

Some examples using this property:

LCMS2ProfileMBS.Name as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the profile name.

This is a convenience function. The plugin builds this name from manufacturer, model and description strings.
(Read only property)

LCMS2ProfileMBS.PCS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets/Sets the profile connection space used by the given profile, using the ICC convention.

(Read and Write property)

LCMS2ProfileMBS.ProfileICCversion as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get/set the profile ICC version in the same format as it is stored in the header.

(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.ProfileVersion as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets/Sets the ICC version in profile header.

The version given as to this function as a float n.m is properly encoded.
(Read and Write property)

Some examples using this property:

LCMS2ProfileMBS.RenderingIntent as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets/Sets the profile header rendering intent.

From the ICC spec: "The rendering intent field shall specify the rendering intent which should be used (or, in the case of a Devicelink profile, was used) when this profile is (was) combined with another profile. In a sequence of more than two profiles, it applies to the combination of this profile and the next profile in the sequence and not to the entire sequence. Typically, the user or application will set the rendering intent dynamically at runtime or embedding time. Therefore, this flag may not have any meaning until the profile is used in some context, e.g. in a Devicelink or an embedded source profile."
(Read and Write property)

LCMS2ProfileMBS.TagCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property LCMS2 MBS Images Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns number of tags of a given profile.

Returns number of tags on success, -1 on error.
(Read only property)

Some examples using this property:

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


The biggest plugin in space...