Platforms to show: All Mac Windows Linux Cross-Platform

Back to LCMS2StageMBS class.

LCMS2StageMBS.CLutFloatValues as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns CLut floating point values.

Only if stage is from type kcmsSigCLutElemType and CLutHasFloatValues = true.

LCMS2StageMBS.CLutParamsSamples as UInt32()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 20.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The sample counts in the CLut parameters.

Valid on all kinds of tables.

LCMS2StageMBS.CLutUInt16Values as UInt16()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns CLut integer values.

Only if stage is from type kcmsSigCLutElemType and CLutHasFloatValues = false.

LCMS2StageMBS.MatrixOffsets as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns array with matrix offsets.

Only if stage is from type kcmsSigMatrixElemType and.

LCMS2StageMBS.MatrixValues as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns array with matrix values.

Only if stage is from type kcmsSigMatrixElemType and.

LCMS2StageMBS.SampleCLut16bit(sampler as LCMS2StageSamplerMBS, Flags as Integer = 0) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Iterate on all nodes of a given CLUT stage, calling a 16-bit sampler on each node.

Those functions (SampleCLut16bit and SampleCLutFloat) are provided to populate CLUT stages in a way that is independent of the number of nodes. The programmer has to provide an object with event that will be invoked on each CLUT node. LittleCMS does fill the In parameter with the coordinates that addresses the node. It also fills the Out parameter with CLUT contents on the node, so this can be used also to get CLUT contents after reading it from an ICC profile. In this case, a special flag can be specified to make sure the CLUT is being accessed as read-only and not modified (kSamplerInspect).

Works only with CLut stage objects and returns false if the object is not a Clut.

Sampler: The object to receive events.
Flags: Bit-field flags for different options. Only kSamplerInspect is currently supported.

Returns true on success, false on error.

Some examples using this method:

LCMS2StageMBS.SampleCLutFloat(sampler as LCMS2StageSamplerMBS, Flags as Integer = 0) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Iterate on all nodes of a given CLUT stage, calling a float sampler on each node.

Those functions (SampleCLut16bit and SampleCLutFloat) are provided to populate CLUT stages in a way that is independent of the number of nodes. The programmer has to provide an object with event that will be invoked on each CLUT node. LittleCMS does fill the In parameter with the coordinates that addresses the node. It also fills the Out parameter with CLUT contents on the node, so this can be used also to get CLUT contents after reading it from an ICC profile. In this case, a special flag can be specified to make sure the CLUT is being accessed as read-only and not modified (kSamplerInspect).

Works only with CLut stage objects and returns false if the object is not a Clut.

Sampler: The object to receive events.
Flags: Bit-field flags for different options. Only kSamplerInspect is currently supported.

Returns true on success, false on error.

LCMS2StageMBS.ToneCurves as LCMS2ToneCurveMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns array with tone curves.

Only if stage is from type kcmsSigCurveSetElemType and.

Some examples using this method:

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


The biggest plugin in space...