MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
CMOpenProfileFromFileMBS(file as folderitem) as CMProfileMBS
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a profile file.
Notes:
This function uses pathes and may fail because of duplicate disk names!
On a Mac you should be able to use the Colorsync stuff to find the profiles on disk.
Returns nil on any error.
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a profile file.
Notes:
This function uses pathes and may fail because of duplicate disk names!
On a Mac you should be able to use the Colorsync stuff to find the profiles on disk.
Returns nil on any error.
Some examples using this method:
CMSetAlarmCodesMBS(r as integer, g as integer, b as integer)
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Used to establish the out-of-gamut alarm color.
Notes: This color will replace all out-of-gamut colors if sFLAGS_GAMUTCHEK is used in dwFlags parameter.
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Used to establish the out-of-gamut alarm color.
Notes: This color will replace all out-of-gamut colors if sFLAGS_GAMUTCHEK is used in dwFlags parameter.
CMSetCMYKPreservationStrategyMBS(n as integer) as integer
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Sets primary CMYK Black Preservation strategy.
Notes:
Pass constants:
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Sets primary CMYK Black Preservation strategy.
Notes:
Pass constants:
| LCMS_PRESERVE_PURE_K | = 0 |
| LCMS_PRESERVE_K_PLANE | = 1 |
CMSetLanguageMBS(LanguageCode as String, CountryCode as String)
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Sets which language to use.
Example:
In LCMS 1.16 the parameters were integers, but with 1.17 this changed to strings. Strings must be 4 byte long and have the correct encoding.
This function applies only to v4 profiles, which may have multilocalized strings for information functions. Using CMSetLanguageMBS(), you set the preferred language and country in what you want the information. All strings are searched for an exact match of language and country. In none found, then another search is done for same language, ignoring country. If no matching is found, the first string in table is returned.
Parameters:
LanguageCode: first name language code from ISO-639.
http://lcweb.loc.gov/standards/iso639-2/iso639jac.html
CountryCode:
first name region code from ISO-3166.
http://www.iso.ch/iso/en/prods-services/iso3166ma/index.html
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Sets which language to use.
Example:
CMSetLanguageMBS asc("e")*256+asc("n"),asc("U")*256+asc("S")
Notes: In LCMS 1.16 the parameters were integers, but with 1.17 this changed to strings. Strings must be 4 byte long and have the correct encoding.
This function applies only to v4 profiles, which may have multilocalized strings for information functions. Using CMSetLanguageMBS(), you set the preferred language and country in what you want the information. All strings are searched for an exact match of language and country. In none found, then another search is done for same language, ignoring country. If no matching is found, the first string in table is returned.
Parameters:
LanguageCode: first name language code from ISO-639.
http://lcweb.loc.gov/standards/iso639-2/iso639jac.html
CountryCode:
first name region code from ISO-3166.
http://www.iso.ch/iso/en/prods-services/iso3166ma/index.html
CMWhitePointFromTempMBS(temp as integer) as CMPointMBS
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 3.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Obtains the chromaticity of white point based on temperature in BetaKelvin.
Notes: White points are stored normally as x, y, Y values, but as Realbasic can't have two variables with the same name and different case (Y and y), the big Y is named Z in our point class.
global method, LCMS, MBS LCMS Plugin (LCMS), Console safe, Plugin version: 3.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Obtains the chromaticity of white point based on temperature in BetaKelvin.
Notes: White points are stored normally as x, y, Y values, but as Realbasic can't have two variables with the same name and different case (Y and y), the big Y is named Z in our point class.
The items on this page are in the following plugins: MBS LCMS Plugin.
Monkeybread Software Realbasic Plugins - Messdiener Nickenich