Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

DynaPDF.Lab

Calculates color value for LAB.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 11.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Lab"; L; a; b )   More

Parameters

Parameter Description Example
L The l color component from 0 to 100. 50
a The a color component from -128 to 127. -34
b The a color component from -128 to 127. 77

Result

Returns number or error.

Description

Calculates color value for LAB.
For use with functions which take a color as a big number.
Calculation is b * 65536 + a * 256 + L.
Use it only if the color space is LAB.

See also DynaPDF.RGB for RGB colors and DynaPDF.CMYK for CMYK colors.

Examples

Get Lab color value:

MBS( "DynaPDF.Lab"; 50; -34; 77 )

Example result: 5103154

See also

Release notes

Blog Entries

Created 15th January 2021, last changed 15th January 2021


DynaPDF.IsInitialized - DynaPDF.LineAnnot

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos

Start Chat