Platforms to show: All Mac Windows Linux Cross-Platform
Back to LCMS2ProfileMBS class.
LCMS2ProfileMBS.WriteICCData(tag as Integer, o as LCMS2ICCDataMBS) as boolean
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.
LCMS2ProfileMBS.WriteICCMeasurementConditions(value as LCMS2ICCMeasurementConditionsMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 12.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
for kcmsSigMeasurementTag.
Writes data and returns true on success or false on failure.
LCMS2ProfileMBS.WriteICCViewingConditions(o as LCMS2ICCViewingConditionsMBS) as boolean
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.WriteMLU(tag as Integer, o as LCMS2MLUMBS) as boolean
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.
Some examples using this method:
LCMS2ProfileMBS.WriteNamedColorList(tag as Integer, o as LCMS2NamedColorListMBS) as boolean
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.
Some examples using this method:
LCMS2ProfileMBS.WritePipeline(tag as Integer, o as LCMS2PipelineMBS) as boolean
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.
Some examples using this method:
LCMS2ProfileMBS.WriteRawTag(sig as Integer, data as Memoryblock) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The RAW version does the same as WriteTag* but without any interpretation of the data. Please note it is fair easy to deal with "cooked" structures, since there are primitives for allocating, deleting and modifying data. For RAW data you are responsible of everything. If you want to deal with a private tag, you may want to write a plug-in instead of messing up with raw data.
sig: Signature of tag to be written
data: memory block holding the data.
Returns true on success, false on 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.
Some examples using this method:
LCMS2ProfileMBS.WriteScreening(o as LCMS2ScreeningMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Works with kcmsSigScreeningTag.
LCMS2ProfileMBS.WriteSequence(tag as Integer, o as LCMS2SequenceMBS) as boolean
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.
LCMS2ProfileMBS.WriteSignature(tag as Integer, o as UInt32) as boolean
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.WriteToneCurve(tag as Integer, o as LCMS2ToneCurveMBS) as boolean
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.
Some examples using this method:
LCMS2ProfileMBS.WriteUcrBg(o as LCMS2UcrBgMBS) as boolean
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.