Platforms to show: All Mac Windows Linux Cross-Platform

WindowsICMProfileHeaderMBS.Attributes0 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Attributes of profile.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Attributes1 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Attributes of profile.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Classs as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: 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
Notes:
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)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.CMMType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The identification number of the CMM that is used in the profile.
Notes:
Identification numbers are registered with the ICC.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.ConnectionSpace as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: A signature value that indicates the color space in which the profile connection space (PCS) is defined.
Notes:
The member can be any of the following values: SPACE_XYZ or SPACE_Lab.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Creator as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: 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)
Notes:
Signatures are registered with the ICC.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.DataColorSpace as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: 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
Notes:
The member can be any of value from the SPACE_* Constants.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.DateTime0 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The data and time that the profile was created.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.DateTime1 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The data and time that the profile was created.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.DateTime2 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The data and time that the profile was created.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.IlluminantX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: X value of the Profile illuminant.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.IlluminantY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Y value of the Profile illuminant.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.IlluminantZ as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Z value of the Profile illuminant.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Manufacturer as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The identification number of the device profile manufacturer.
Notes:
All manufacturer identification numbers are registered with the ICC.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Model as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The device manufacturer's device model number.
Notes:
All model identification numbers are registered with the ICC.
(Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Platform as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: 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"
Notes:
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)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.ProfileFlags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Bit flags containing hints that the CMM uses to interpret the profile data.
Notes:
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)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.RenderingIntent as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The profile rendering intent.
Notes:
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)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Signature as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: Reserved for internal use.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsICMProfileHeaderMBS.Version as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows ICM MBS Win Plugin 11.1 No Yes No Yes, Windows only No
Function: The version number of the profile.
Notes:
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)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo tutorial videos