ColorValueConverter Class Documentation
class ColorValueConverter : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
This class contains methods used to convert sets of values from one Colorspace to another.
Uses types
Constructor & Destructor Documentation
ColorValueConverter
ColorValueConverter()This class contains methods used to convert sets of values from one Colorspace to another.
Member Function Documentation
ConvertValues
System.Byte[] ConvertValues(ColorProfile sourceColorProfile, ColorProfile destinationColorProfile, RenderIntent intent, uint numberOfInputValueSets, System.Byte[] inputValueSets)Parameters
sourceColorProfile: ColorProfileThe Color Profile to be used for input values.
destinationColorProfile: ColorProfileThe Color Profile to be used for output values.
intent: RenderIntentThe Render Intent used during the conversion.
numberOfInputValueSets: uintThe 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., would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.
Returns:
System.Byte[]A list of converted color values in the destination colorspace.
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
ConvertValues
System.Byte[] ConvertValues(ColorProfile sourceColorProfile, string destinationColorProfilePath, RenderIntent intent, uint numberOfInputValueSets, System.Byte[] inputValueSets)Parameters
sourceColorProfile: ColorProfileThe Color Profile to be used for input values.
destinationColorProfilePath: stringThe Color Profile to be used for output values, loaded from a path on disk.
intent: RenderIntentThe Render Intent used during the conversion.
numberOfInputValueSets: uintThe 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., would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.
Returns:
System.Byte[]A list of converted color values in the destination colorspace.
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
ConvertValues
System.Byte[] ConvertValues(string sourceColorProfilePath, ColorProfile destinationColorProfile, RenderIntent intent, uint numberOfInputValueSets, System.Byte[] inputValueSets)Parameters
sourceColorProfilePath: stringThe Color Profile to be used for input values, loaded from a path on disk.
destinationColorProfile: ColorProfileThe Color Profile to be used for output values.
intent: RenderIntentThe Render Intent used during the conversion.
numberOfInputValueSets: uintThe 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., would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.
Returns:
System.Byte[]A list of converted color values in the destination colorspace.
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
ConvertValues
System.Byte[] ConvertValues(string sourceColorProfilePath, string destinationColorProfilePath, RenderIntent intent, uint numberOfInputValueSets, System.Byte[] inputValueSets)Parameters
sourceColorProfilePath: stringThe Color Profile to be used for input values, loaded from a path on disk.
destinationColorProfilePath: stringThe Color Profile to be used for output values, loaded from a path on disk.
intent: RenderIntentThe Render Intent used during the conversion.
numberOfInputValueSets: uintThe 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[]A list of converted color values in the destination colorspace.
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
Dispose
void Dispose()Returns:
void