Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsICMProfileHeaderMBS class.

WindowsICMProfileHeaderMBS.Attributes0 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Attributes of profile.

(Read and Write property)

WindowsICMProfileHeaderMBS.Attributes1 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Attributes of profile.

(Read and Write property)

WindowsICMProfileHeaderMBS.Classs as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Indicates the profile class.
Example
// some profile file
dim file as FolderItem = SpecialFolder.Desktop.Child("test.icc")

// open profile read only
dim w as WindowsICMProfileMBS = WindowsICMProfileMBS.OpenProfileFile(file, WindowsICMProfileMBS.PROFILE_READ, WindowsICMProfileMBS.FILE_SHARE_READ, WindowsICMProfileMBS.OPEN_EXISTING)

// get headers
dim h as WindowsICMProfileHeaderMBS = w.ColorProfileHeader

// show color space name
Select case h.Classs
case WindowsICMProfileHeaderMBS.CLASS_MONITOR
msgbox "Monitor"
case WindowsICMProfileHeaderMBS.CLASS_PRINTER
msgbox "Printer"
case WindowsICMProfileHeaderMBS.CLASS_SCANNER
msgbox "Scanner"
case WindowsICMProfileHeaderMBS.CLASS_LINK
msgbox "Link"
case WindowsICMProfileHeaderMBS.CLASS_ABSTRACT
msgbox "Abstract"
case WindowsICMProfileHeaderMBS.CLASS_COLORSPACE
msgbox "Colorspace"
case WindowsICMProfileHeaderMBS.CLASS_NAMED
msgbox "Named"
case WindowsICMProfileHeaderMBS.CLASS_CAMP
msgbox "Camp"
case WindowsICMProfileHeaderMBS.CLASS_GMMP
msgbox "GNMP"
else
msgbox "Unknown: "+hex(h.Classs)
end Select

For a description of profile classes, see Using Device Profiles with WCS:
http://msdn.microsoft.com/en-us/library/dd372213(v=VS.85).aspx

A profile class may have any of the values from the CLASS_* constants.

Class is written with three s here as Class is a reserved word in Xojo.
(Read and Write property)

WindowsICMProfileHeaderMBS.CMMType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The identification number of the CMM that is used in the profile.

Identification numbers are registered with the ICC.
(Read and Write property)

WindowsICMProfileHeaderMBS.ConnectionSpace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A signature value that indicates the color space in which the profile connection space (PCS) is defined.

The member can be any of the following values: SPACE_XYZ or SPACE_Lab.
(Read and Write property)

WindowsICMProfileHeaderMBS.Creator as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Signature of the software that created the profile.
Example
dim file as FolderItem = SpecialFolder.Desktop.Child("test.icc")
dim w as WindowsICMProfileMBS = WindowsICMProfileMBS.OpenProfileFile(file, WindowsICMProfileMBS.PROFILE_READ, WindowsICMProfileMBS.FILE_SHARE_READ, WindowsICMProfileMBS.OPEN_EXISTING)
dim h as WindowsICMProfileHeaderMBS = w.ColorProfileHeader

MsgBox hex(h.Creator)

Signatures are registered with the ICC.
(Read and Write property)

WindowsICMProfileHeaderMBS.DataColorSpace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A signature value that indicates the color space in which the profile data is defined.
Example
function Name() as string
dim w as WindowsICMProfileMBS // your profile
dim h as WindowsICMProfileHeaderMBS = w.ColorProfileHeader

if h=nil then Return "?"

Select case h.DataColorSpace
case WindowsICMProfileHeaderMBS.SPACE_XYZ
Return "XYZ"
case WindowsICMProfileHeaderMBS.SPACE_Lab
Return "Lab"
case WindowsICMProfileHeaderMBS.SPACE_Luv
Return "Luv"
case WindowsICMProfileHeaderMBS.SPACE_YCbCr
Return "YCbCr"
case WindowsICMProfileHeaderMBS.SPACE_Yxy
Return "Yxy"
case WindowsICMProfileHeaderMBS.SPACE_RGB
Return "RGB"
case WindowsICMProfileHeaderMBS.SPACE_GRAY
Return "GRAY"
case WindowsICMProfileHeaderMBS.SPACE_HSV
Return "HSV"
case WindowsICMProfileHeaderMBS.SPACE_HLS
Return "HLS"
case WindowsICMProfileHeaderMBS.SPACE_CMYK
Return "CMYK"
case WindowsICMProfileHeaderMBS.SPACE_CMY
Return "CMY"
case WindowsICMProfileHeaderMBS.SPACE_2_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_3_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_4_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_5_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_6_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_7_CHANNEL
Return "2 Channel"
case WindowsICMProfileHeaderMBS.SPACE_8_CHANNEL
Return "2 Channel"
else
Return "Unknown: "+hex(h.DataColorSpace)
end Select
end function

The member can be any of value from the SPACE_* Constants.
(Read and Write property)

WindowsICMProfileHeaderMBS.DateTime0 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The data and time that the profile was created.

(Read and Write property)

WindowsICMProfileHeaderMBS.DateTime1 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The data and time that the profile was created.

(Read and Write property)

WindowsICMProfileHeaderMBS.DateTime2 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The data and time that the profile was created.

(Read and Write property)

WindowsICMProfileHeaderMBS.IlluminantX as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
X value of the Profile illuminant.

(Read and Write property)

WindowsICMProfileHeaderMBS.IlluminantY as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Y value of the Profile illuminant.

(Read and Write property)

WindowsICMProfileHeaderMBS.IlluminantZ as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Z value of the Profile illuminant.

(Read and Write property)

WindowsICMProfileHeaderMBS.Manufacturer as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The identification number of the device profile manufacturer.

All manufacturer identification numbers are registered with the ICC.
(Read and Write property)

WindowsICMProfileHeaderMBS.Model as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device manufacturer's device model number.

All model identification numbers are registered with the ICC.
(Read and Write property)

WindowsICMProfileHeaderMBS.Platform as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The primary platform for which the profile was created.
Example
dim file as FolderItem = SpecialFolder.Desktop.Child("test.icc")
dim w as WindowsICMProfileMBS = WindowsICMProfileMBS.OpenProfileFile(file, WindowsICMProfileMBS.PROFILE_READ, WindowsICMProfileMBS.FILE_SHARE_READ, WindowsICMProfileMBS.OPEN_EXISTING)
dim h as WindowsICMProfileHeaderMBS = w.ColorProfileHeader

MsgBox DecodingFromHexMBS(hex(h.Platform)) // shows platform, e.g. "APPL"

The primary platform can be set to any of the following values.

PlatformValue
Apple Computer, Inc.'APPL'
Microsoft Corp.'MSFT'
Silicon Graphics, Inc.'SGI'
Sun Microsystems, Inc.'SUNW'
Taligent'TGNT'
(Read and Write property)

WindowsICMProfileHeaderMBS.ProfileFlags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Bit flags containing hints that the CMM uses to interpret the profile data.

The member can be set to the following values.

ConstantMeaning
FLAG_EMBEDDEDPROFILEThe profile is embedded in a bitmap file.
FLAG_DEPENDENTONDATAThe profile can't be used independently of the embedded color data. Used for profiles that are embedded in bitmap files.
(Read and Write property)

WindowsICMProfileHeaderMBS.RenderingIntent as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The profile rendering intent.

The member can be set to one of the following values:

INTENT_PERCEPTUALINTENT_SATURATIONINTENT_RELATIVE_COLORIMETRICINTENT_ABSOLUTE_COLORIMETRIC

For more information, see Rendering Intents.
http://msdn.microsoft.com/en-us/library/dd372183(v=VS.85).aspx
(Read and Write property)

WindowsICMProfileHeaderMBS.Signature as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reserved for internal use.

(Read and Write property)

WindowsICMProfileHeaderMBS.Version as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows ICM MBS Win Plugin 11.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The version number of the profile.

The version number is determined by the ICC. The current major version number is &h02. The current minor version number is &h10. The major and minor version numbers are in binary coded decimal (BCD). They must be stored in the following format.

Byte NumberContents
0Major version number in BCD.
1Minor version number in the most significant nibble of this byte. Bug fix version number in the least significant nibble.
2Reserved. Must be set to 0.
3Reserved. Must be set to 0.
(Read and Write property)

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...