ColorManagement Xojo Plugin |

# ICCColorProfile Class (console safe)

A class to load ICC profiles, get information about them, convert color profiles on RawBitmaps and more.
Note:
This class currently only supports converting between different RGB based profiles and Gray profiles as well. It does not support converting CMYK or other such profiles, nor does it support applying them to RawBitmap since currently RawBitmap only supports RGB and Gray.

Object
ICCColorProfile

class ICCColorProfile

#### Constructors

ICCColorProfile (console safe) | Private constructor. Use one of the ICCColorProfile.Create functions to create instance of this class.

#### Properties

ChannelCount (console safe) | Returns channel could on the color Profile.
ColorSpaceType (console safe) | Returns the color space type of the Color profile. This can be any value from the ICCColorProfile.ColorSpaceTypeValues enum.
Copyright (console safe) | Returns copyright information from the color profile.
Description (console safe) | Returns description from the color profile.
Manufacturer (console safe) | Returns manufacturer information from the color profile.
Model (console safe) | Returns model information from the color profile.

#### Methods

ApplyColorProfile (console safe) | Applies color profile to a RawBitmap instance.
ApplyColorProfileToPDFDocument (console safe) | Applies the color profile to EinhugurPDFWriter.PDFDocument class.
shared CMYKColorToRGBColor | Converts a single CMYK color to a RGB color using color profiles.
ConvertToColorProfile (console safe) | Converts color profile on a RawBitmap, creating new instance of RawBitmap with the result.
ConvertToColorProfile (console safe) | Converts color profile on a RawBitmap taking destination hint as parameter, creating new instance of RawBitmap with the result.
ConvertToColorProfileInPlace (console safe) | Converts color profile on a RawBitmap in place.
ConvertToColorProfileTask (console safe) | Creates task to convert color profile on a RawBitmap, creating new instance of RawBitmap with the result.
ConvertToColorProfileTask (console safe) | Creates task to convert color profile on a RawBitmap taking destination hint as parameter, creating new instance of RawBitmap with the result.
shared CreateD50_Gray_Lab_Trc_Profile | Creates D50 Gray lab Trc color profile.
shared CreateD65_Gray_Linear_Profile | Creates D65 Gray linear color profile.
shared CreateD65_Gray_sRGB_Trc_Profile | Creates D65 Gray sRGB TRC color profile.
shared CreateRGB_Adobe_Profile | Creates public domain Adobe RGB (1998) compatible color profile.
shared CreateSRGB_Profile | Creates standard sRGB color profile.
shared FloatCMYKColorToFloatRGBColor | Converts a single CMYK color (float based) to a RGB color using color profiles.
shared FromFile | Creates instance of the ICCColorProfile class from a file that contains ICC color profile.
shared FromMemoryBlock | Creates instance of the ICCColorProfile class from a MemoryBlock that contains valid ICCColorProfile data.
shared FromRawBitmap | Creates instance of ICCColorProfile from a RawBitmap object.
shared RGBColorToCMYKColor | Converts a single RGB color to a CMYK color using color profiles.
shared RGBColorToFloatCMYKColor | Converts a single RGB color to a CMYK color (float based) using color profiles.
shared SystemColorProfile | Returns the system color profile used for the main display.
shared SystemColorProfilesFolder | Returns FolderItem for directory where system color profiles are are stored.

#### Enumerations

ColorSpaceTypeValues | Enum that defines constants defining color profile types.
ErrorValues | Enum that defines constants that specify last error that occurred in the plugin.
DepthValues | Enum that is used to specify depth per channel.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit
- iOS