ColorValueConverter Class Documentation

classColorValueConverter : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

This class contains methods used to convert sets of values from one Colorspace to another.

Referenced by

Constructor & Destructor Documentation

ColorValueConverter

ColorValueConverter()

This class contains methods used to convert sets of values from one Colorspace to another.

~ColorValueConverter

~ColorValueConverter()

Member Function Documentation

ConvertValues

System.Byte[]ConvertValues(ColorProfilesourceColorProfile, ColorProfiledestinationColorProfile, RenderIntentintent, uintnumberOfInputValueSets, System.Byte[]inputValueSets)

Parameters

sourceColorProfile: ColorProfile

The Color Profile to be used for input values.

destinationColorProfile: ColorProfile

The Color Profile to be used for output values.

intent: RenderIntent

The Render Intent used during the conversion.

numberOfInputValueSets: uint

The number of sets of input values to be converted.

inputValueSets: System.Byte[]

The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.

Returns:

System.Byte[]

Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.

ConvertValues

System.Byte[]ConvertValues(ColorProfilesourceColorProfile, stringdestinationColorProfilePath, RenderIntentintent, uintnumberOfInputValueSets, System.Byte[]inputValueSets)

Parameters

sourceColorProfile: ColorProfile

The Color Profile to be used for input values.

destinationColorProfilePath: string

The Color Profile to be used for output values, loaded from a path on disk.

intent: RenderIntent

The Render Intent used during the conversion.

numberOfInputValueSets: uint

The number of sets of input values to be converted.

inputValueSets: System.Byte[]

The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.

Returns:

System.Byte[]

Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.

ConvertValues

System.Byte[]ConvertValues(stringsourceColorProfilePath, ColorProfiledestinationColorProfile, RenderIntentintent, uintnumberOfInputValueSets, System.Byte[]inputValueSets)

Parameters

sourceColorProfilePath: string

The Color Profile to be used for input values, loaded from a path on disk.

destinationColorProfile: ColorProfile

The Color Profile to be used for output values.

intent: RenderIntent

The Render Intent used during the conversion.

numberOfInputValueSets: uint

The number of sets of input values to be converted.

inputValueSets: System.Byte[]

The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.

Returns:

System.Byte[]

Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.

ConvertValues

System.Byte[]ConvertValues(stringsourceColorProfilePath, stringdestinationColorProfilePath, RenderIntentintent, uintnumberOfInputValueSets, System.Byte[]inputValueSets)

Parameters

sourceColorProfilePath: string

The Color Profile to be used for input values, loaded from a path on disk.

destinationColorProfilePath: string

The Color Profile to be used for output values, loaded from a path on disk.

intent: RenderIntent

The Render Intent used during the conversion.

numberOfInputValueSets: uint

The number of sets of input values to be converted.

inputValueSets: System.Byte[]

The input values to be converted which are divided into sets, e.g. < 255 140 0 0 120 0 60 0 > would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.

Returns:

System.Byte[]

Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void