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

ICCColorProfilePrivate 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.
LastError (console safe) Some of the methods will write Error result code in this property. The error result can be any value from the ICCColorProfile.ErrorValues enum.
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 CMYKColorToRGBColorConverts a single CMYK color to a RGB color using color profiles.
ConvertToColorProfile (console safe) Converts color profile on a RawBitmap taking destination hint as parameter, creating new instance of RawBitmap with the result.
ConvertToColorProfile (console safe) Converts color profile on a RawBitmap, creating new instance of RawBitmap with the result.
ConvertToColorProfileInPlace (console safe) Converts color profile on a RawBitmap in place.
shared CreateD50_Gray_Lab_Trc_ProfileCreates D50 Gray lab Trc color profile.
shared CreateD65_Gray_Linear_ProfileCreates D65 Gray linear color profile.
shared CreateD65_Gray_sRGB_Trc_ProfileCreates D65 Gray sRGB TRC color profile.
shared CreateRGB_Adobe_ProfileCreates public domain Adobe RGB (1998) compatible color profile.
shared CreateSRGB_ProfileCreates standard sRGB color profile.
shared FloatCMYKColorToFloatRGBColorConverts a single CMYK color (float based) to a RGB color using color profiles.
shared FromFileCreates instance of the ICCColorProfile class from a file that contains ICC color profile.
shared FromMemoryBlockCreates instance of the ICCColorProfile class from a MemoryBlock that contains valid ICCColorProfile data.
shared FromRawBitmapCreates instance of ICCColorProfile from a RawBitmap object.
shared RGBColorToCMYKColorConverts a single RGB color to a CMYK color using color profiles.
shared RGBColorToFloatCMYKColorConverts a single RGB color to a CMYK color (float based) using color profiles.

Enumerations

ColorSpaceTypeValuesEnum that defines constants defining color profile types.
ErrorValuesEnum that defines constants that specify last error that occurred in the plugin.
DepthValuesEnum that is used to specify depth per channel.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM