Platforms to show: All Mac Windows Linux Cross-Platform
Back to LCMS2MBS module.
LCMS2MBS.TagInteger(tag as string) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LCMS2MBS.TagString(tag as UInt32) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LCMS2MBS.TempFromWhitePoint(TempK as LCMS2CIExyYMBS) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns temperature. Or zero on any error.
LCMS2MBS.T_BIT15(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Bit15 flag
LCMS2MBS.T_BYTES(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
bytes per sample
Some examples using this method:
LCMS2MBS.T_CHANNELS(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Channels (Samples per pixel)
Some examples using this method:
LCMS2MBS.T_COLORSPACE(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pixeltype
LCMS2MBS.T_DITHER(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
dither flag
LCMS2MBS.T_DOSWAP(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Do swap? ie, BGR, KYMC
LCMS2MBS.T_ENDIAN16(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
swap 16 bps endianess?
LCMS2MBS.T_EXTRA(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Extra samples
LCMS2MBS.T_FLAVOR(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Flavor 0=MinIsBlack(Chocolate) 1=MinIsWhite(Vanilla)
LCMS2MBS.T_FLOAT(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Floating point -- With this flag we can differentiate 16 bits as float and as int
LCMS2MBS.T_OPTIMIZED(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Optimized -- previous optimization already returns the final 8-bit value
LCMS2MBS.T_PLANAR(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Planar? 0=Chunky, 1=Planar
LCMS2MBS.T_PREMUL(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Premultiplied? 0=Yes, 1=No
LCMS2MBS.T_SWAPFIRST(n as UInt32) as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Swap first - changes ABGR to BGRA and KCMY to CMYK.
The items on this page are in the following plugins: MBS Images Plugin.