Platforms to show: All Mac Windows Linux Cross-Platform
Back to LCMS2ProfileMBS class.
LCMS2ProfileMBS.ReadChromaticAdaptation as LCMS2CIEXYZMBS()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
On success returns an array of 3 XYZ values.
LCMS2ProfileMBS.ReadChromaticity as LCMS2CIExyYTripleMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For kcmsSigChromaticityTag.
Returns nil on error.
LCMS2ProfileMBS.ReadCIEXYZ(tag as Integer) as LCMS2CIEXYZMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigBlueColorantTag, kcmsSigBlueMatrixColumnTag, kcmsSigGreenColorantTag, kcmsSigGreenMatrixColumnTag, kcmsSigLuminanceTag, kcmsSigMediaBlackPointTag, kcmsSigMediaWhitePointTag, kcmsSigRedColorantTag and kcmsSigRedMatrixColumnTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadColorantOrder as Memoryblock
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For kcmsSigColorantOrderTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadDate(tag as Integer) as LCMS2DateMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigCalibrationDateTimeTag and kcmsSigDateTimeTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadDict(tag as Integer) as LCMS2DictionaryMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigMetaTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadICCData(tag as Integer) as LCMS2ICCDataMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigDataTag, kcmsSigPs2CRD0Tag, kcmsSigPs2CRD1Tag, kcmsSigPs2CRD2Tag, kcmsSigPs2CRD3Tag, kcmsSigPs2CSATag and kcmsSigPs2RenderingIntentTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadICCMeasurementConditions as LCMS2ICCMeasurementConditionsMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
for kcmsSigMeasurementTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadICCViewingConditions as LCMS2ICCViewingConditionsMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigViewingConditionsTag.
LCMS2ProfileMBS.ReadMLU(tag as Integer) as LCMS2MLUMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigCharTargetTag, kcmsSigCopyrightTag, kcmsSigDeviceMfgDescTag, kcmsSigDeviceModelDescTag, kcmsSigProfileDescriptionTag, kcmsSigScreeningDescTag and kcmsSigViewingCondDescTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadNamedColorList(tag as Integer) as LCMS2NamedColorListMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigColorantTableTag, kcmsSigColorantTableOutTag, kcmsSigCrdInfoTag and kcmsSigNamedColor2Tag.
Returns nil on any error.
LCMS2ProfileMBS.ReadPipeline(tag as Integer) as LCMS2PipelineMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigAToB0Tag, kcmsSigAToB1Tag, kcmsSigAToB2Tag, kcmsSigBToA0Tag, kcmsSigBToA1Tag, kcmsSigBToA2Tag, kcmsSigDToB0Tag, kcmsSigDToB1Tag, kcmsSigDToB2Tag, kcmsSigDToB3Tag, kcmsSigBToD0Tag, kcmsSigBToD1Tag, kcmsSigBToD2Tag, kcmsSigBToD3Tag, kcmsSigGamutTag, kcmsSigPreview0Tag, kcmsSigPreview1Tag and kcmsSigPreview2Tag.
Returns nil on any error.
LCMS2ProfileMBS.ReadRawTag(sig as Integer) as Memoryblock
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Similar to ReadTag*, but different in two important aspects. The important point is, this is raw data. No processing is performed, so you can effectively read wrong or broken profiles with this function. Obviously, then you have to interpret all those bytes!
sig: Signature of tag to be read
Returns memoryblock with data or nil on any error.
Those functions allows to read/write directly to the ICC profile any data, without checking anything. As a rule, mixing Raw with cooked doesn't work, so writting a tag as raw and then reading it as cooked without serializing does result into an error. If that is wha you want, you will need to dump the profile to memory or disk and then reopen it.
Returns nil on any error.
Some examples using this method:
LCMS2ProfileMBS.ReadScreening as LCMS2ScreeningMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigScreeningTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadSequence(tag as Integer) as LCMS2SequenceMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Only for kcmsSigProfileSequenceDescTag and kcmsSigProfileSequenceIdTag.
Returns nil on any error.
LCMS2ProfileMBS.ReadSignature(tag as Integer) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigColorimetricIntentImageStateTag, kcmsSigPerceptualRenderingIntentGamutTag, kcmsSigSaturationRenderingIntentGamutTag or kcmsSigTechnologyTag.
LCMS2ProfileMBS.ReadTag(tag as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is a convenience function which gives you the tag in whatever class the plugin thing is suitable.
Check with isa what class you get.
Returns nil on any error.
Some examples using this method:
LCMS2ProfileMBS.ReadToneCurve(tag as Integer) as LCMS2ToneCurveMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigBlueTRCTag, kcmsSigGrayTRCTag, kcmsSigGreenTRCTag and kcmsSigRedTRCTag.
LCMS2ProfileMBS.ReadUcrBg as LCMS2UcrBgMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS Images Plugin.