Platforms to show: All Mac Windows Linux Cross-Platform
LCMS2ProfileMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 20 properties
- property ChannelCount as UInt32
- property ColorSpaceType as Integer
- property context as LCMS2ContextMBS
- property DeviceClass as Integer
- property File as FolderItem
- property Handle as Integer
- property HeaderAttributes as UInt64
- property HeaderCreationDateTime as LCMS2DateMBS
- property HeaderCreator as UInt32
- property HeaderFlags as UInt32
- property HeaderManufacturer as UInt32
- property HeaderModel as UInt32
- property HeaderProfileID as string
- property IsMatrixShaper as Boolean
- property Name as string
- property PCS as Integer
- property ProfileICCversion as Integer
- property ProfileVersion as Double
- property RenderingIntent as Integer
- property TagCount as Integer
- 61 methods
- method Constructor(context as LCMS2ContextMBS = nil)
- method Constructor(file as folderitem, write as boolean = false)
- method DetectBlackPoint(Intent as Integer, Flags as Integer) as LCMS2CIEXYZMBS
- method DetectDestinationBlackPoint(Intent as Integer, Flags as Integer) as LCMS2CIEXYZMBS
- method DetectRGBProfileGamma(threshold as double) as double
- method DetectTAC as Double
- method FormatterForBitmap(BitCount as Integer = 8) as UInt32
- method FormatterForColorspace(nBytes as UInt32, IsFloat as boolean = false) as UInt32
- method FormatterForPCS(nBytes as UInt32, IsFloat as boolean = false) as UInt32
- method GetProfileInfo(Info as Integer, LanguageCode as string, CountryCode as string) as string
- method IsCLUT(Intent as UInt32, UsedDirection as UInt32) as boolean
- method IsIntentSupported(Intent as UInt32, UsedDirection as UInt32) as boolean
- method IsTag(TagSignature as Integer) as Boolean
- method LinkTag(sig as Integer, dest as Integer) as boolean
- method MD5computeID as boolean
- method PostScriptCRD(context as LCMS2ContextMBS, intent as UInt32, flags as UInt32 = 0) as string
- method PostScriptCSA(context as LCMS2ContextMBS, intent as UInt32, flags as UInt32 = 0) as string
- method ReadChromaticAdaptation as LCMS2CIEXYZMBS()
- method ReadChromaticity as LCMS2CIExyYTripleMBS
- method ReadCIEXYZ(tag as Integer) as LCMS2CIEXYZMBS
- method ReadColorantOrder as Memoryblock
- method ReadDate(tag as Integer) as LCMS2DateMBS
- method ReadDict(tag as Integer) as LCMS2DictionaryMBS
- method ReadICCData(tag as Integer) as LCMS2ICCDataMBS
- method ReadICCMeasurementConditions as LCMS2ICCMeasurementConditionsMBS
- method ReadICCViewingConditions as LCMS2ICCViewingConditionsMBS
- method ReadMLU(tag as Integer) as LCMS2MLUMBS
- method ReadNamedColorList(tag as Integer) as LCMS2NamedColorListMBS
- method ReadPipeline(tag as Integer) as LCMS2PipelineMBS
- method ReadRawTag(sig as Integer) as Memoryblock
- method ReadScreening as LCMS2ScreeningMBS
- method ReadSequence(tag as Integer) as LCMS2SequenceMBS
- method ReadSignature(tag as Integer) as UInt32
- method ReadTag(tag as Integer) as Variant
- method ReadToneCurve(tag as Integer) as LCMS2ToneCurveMBS
- method ReadUcrBg as LCMS2UcrBgMBS
- method SaveProfileToFile(file as folderitem) as boolean
- method SaveProfileToMemory as Memoryblock
- method SaveProfileToString as string
- method TagLinkedTo(sig as Integer) as Integer
- method TagSignature(index as Integer) as Integer
- method TagSignatures as Integer()
- method WriteChromaticAdaptation(value as LCMS2Mat3MBS) as boolean
- method WriteChromaticAdaptation(values() as LCMS2CIEXYZMBS) as boolean
- method WriteChromaticity(o as LCMS2CIExyYTripleMBS) as boolean
- method WriteCIEXYZ(tag as Integer, o as LCMS2CIEXYZMBS) as boolean
- method WriteColorantOrder(data as Memoryblock) as boolean
- method WriteDate(tag as Integer, o as LCMS2DateMBS) as boolean
- method WriteDict(tag as Integer, o as LCMS2DictionaryMBS) as boolean
- method WriteICCData(tag as Integer, o as LCMS2ICCDataMBS) as boolean
- method WriteICCMeasurementConditions(value as LCMS2ICCMeasurementConditionsMBS) as boolean
- method WriteICCViewingConditions(o as LCMS2ICCViewingConditionsMBS) as boolean
- method WriteMLU(tag as Integer, o as LCMS2MLUMBS) as boolean
- method WriteNamedColorList(tag as Integer, o as LCMS2NamedColorListMBS) as boolean
- method WritePipeline(tag as Integer, o as LCMS2PipelineMBS) as boolean
- method WriteRawTag(sig as Integer, data as Memoryblock) as boolean
- method WriteScreening(o as LCMS2ScreeningMBS) as boolean
- method WriteSequence(tag as Integer, o as LCMS2SequenceMBS) as boolean
- method WriteSignature(tag as Integer, o as UInt32) as boolean
- method WriteToneCurve(tag as Integer, o as LCMS2ToneCurveMBS) as boolean
- method WriteUcrBg(o as LCMS2UcrBgMBS) as boolean
- 18 shared methods
- shared method cmsV2Unicode as String
- shared method CreateBCHSWabstractProfile(context as LCMS2ContextMBS, nLUTPoints as UInt32, Bright as double, Contrast as double, Hue as double, Saturation as double, TempSrc as UInt32, TempDest as UInt32) as LCMS2ProfileMBS
- shared method CreateGrayProfile(context as LCMS2ContextMBS, WhitePoint as LCMS2CIExyYMBS, TransferFunction as LCMS2ToneCurveMBS) as LCMS2ProfileMBS
- shared method CreateInkLimitingDeviceLink(context as LCMS2ContextMBS, ColorSpaceSignature as UInt32, Limit as Double) as LCMS2ProfileMBS
- shared method CreateLab2Profile(context as LCMS2ContextMBS = nil, point as LCMS2CIExyYMBS = nil) as LCMS2ProfileMBS
- shared method CreateLab4Profile(context as LCMS2ContextMBS = nil, point as LCMS2CIExyYMBS = nil) as LCMS2ProfileMBS
- shared method CreateLinearizationDeviceLink(context as LCMS2ContextMBS, ColorSpaceSignature as UInt32, TransferFunction() as LCMS2ToneCurveMBS) as LCMS2ProfileMBS
- shared method CreateNULLProfile(context as LCMS2ContextMBS = nil) as LCMS2ProfileMBS
- shared method CreateProfilePlaceholder(context as LCMS2ContextMBS = nil) as LCMS2ProfileMBS
- shared method CreateRGBProfile(context as LCMS2ContextMBS, WhitePoint as LCMS2CIExyYMBS, Primaries as LCMS2CIExyYTripleMBS, TransferFunction() as LCMS2ToneCurveMBS) as LCMS2ProfileMBS
- shared method CreateSRGBProfile(context as LCMS2ContextMBS = nil) as LCMS2ProfileMBS
- shared method CreateXYZProfile(context as LCMS2ContextMBS = nil) as LCMS2ProfileMBS
- shared method OpenProfileFromFile(context as LCMS2ContextMBS, file as folderitem, write as boolean = false) as LCMS2ProfileMBS
- shared method OpenProfileFromFile(file as folderitem, write as boolean = false) as LCMS2ProfileMBS
- shared method OpenProfileFromMemory(context as LCMS2ContextMBS, data as Memoryblock) as LCMS2ProfileMBS
- shared method OpenProfileFromMemory(data as Memoryblock) as LCMS2ProfileMBS
- shared method OpenProfileFromString(context as LCMS2ContextMBS, data as string) as LCMS2ProfileMBS
- shared method OpenProfileFromString(data as string) as LCMS2ProfileMBS
- 4 constants
Info selector.
Constant | Value | Description |
---|---|---|
kInfoCopyright | 3 |
The copyright string. |
kInfoDescription | 0 |
The description string. |
kInfoManufacturer | 1 |
The manufacturer string. |
kInfoModel | 2 |
The model string. |
This class has no sub classes.
Some methods using this class:
- LCMS2TransformMBS.CreateExtendedTransform(context as LCMS2ContextMBS, Profiles() as LCMS2ProfileMBS, BPC() as boolean, Intents() as UInt32, AdaptationStates() as Double, GamutProfile as LCMS2ProfileMBS, GamutPCSposition as UInt32, InputFormat as UInt32, OutputFormat as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateMultiprofileTransform(context as LCMS2ContextMBS, Profiles() as LCMS2ProfileMBS, InputFormat as UInt32, OutputFormat as UInt32, Intent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateMultiprofileTransform(Profiles() as LCMS2ProfileMBS, InputFormat as UInt32, OutputFormat as UInt32, Intent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateProofingTransform(context as LCMS2ContextMBS, InputProfile as LCMS2ProfileMBS, InputFormat as UInt32, OutputProfile as LCMS2ProfileMBS, OutputFormat as UInt32, Proofing as LCMS2ProfileMBS, Intent as UInt32, ProofingIntent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateProofingTransform(InputProfile as LCMS2ProfileMBS, InputFormat as UInt32, OutputProfile as LCMS2ProfileMBS, OutputFormat as UInt32, Proofing as LCMS2ProfileMBS, Intent as UInt32, ProofingIntent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateTransform(context as LCMS2ContextMBS, InputProfile as LCMS2ProfileMBS, InputFormat as UInt32, OutputProfile as LCMS2ProfileMBS, OutputFormat as UInt32, Intent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.CreateTransform(InputProfile as LCMS2ProfileMBS, InputFormat as UInt32, OutputProfile as LCMS2ProfileMBS, OutputFormat as UInt32, Intent as UInt32, Flags as UInt32 = 0) as LCMS2TransformMBS
- LCMS2TransformMBS.ToDeviceLink(Version as Double, Flags as UInt32) as LCMS2ProfileMBS
Some examples using this class:
- /DynaPDF/Create PDF with hidden data
- /DynaPDF/ZUGFeRD 2.0/Create PDF with existing pdf
- /DynaPDF/ZUGFeRD 2.0/Create PDF with invoice
- /DynaPDF/ZUGFeRD 2.0/Factur-X
- /DynaPDF/ZUGFeRD/Create PDF with invoice
- /Images/LCMS2/Apple ICC Profile to JPEG File
- /Images/LCMS2/CMYK/CMYK Example
- /Images/LCMS2/Create a DeviceN Profile
- /Images/LCMS2/Create Profile
- /Images/PNG/png with profile
Blog Entries
- MBS Xojo Plugins, version 23.6pr1
- MBS Xojo Plugins, version 23.5pr6
- MBS Xojo Plugins, version 22.0pr7
- MBS Xojo Plugins, version 21.1pr1
- Colorspaces in MacOS with Xojo
- Tip of day: Load ICC profile on OS X for any image format with CGImageSource
- ICC color profiling
- MBS Xojo / Real Studio Plugins, version 13.4pr3
- MBS Real Studio Plugins, version 12.3pr11
- MBS Real Studio Plugins, version 12.0pr4
Release notes
- Version 24.0
- Added cmsV2Unicode function to LCMS2ProfileMBS class.
- Version 23.5
- Added TagSignatures function for LCMS2ProfileMBS class.
- Changed TagSignature in LCMS2ProfileMBS class tor raise exception for invalid index.
- Version 22.0
- Added DetectRGBProfileGamma method to LCMS2ProfileMBS class.
- Version 21.1
- Fixed problem with GetProfileInfo method and name property in LCMS2ProfileMBS class.
The items on this page are in the following plugins: MBS Images Plugin.
LCMS2PipelineMBS - LCMS2ScreeningChannelMBS