ImageGear Professional for Windows ActiveX
ConvertToColorSpaceWithMatrix Method

Description:

Converts image to new color space using a conversion matrix. Destination pixels are calculated as Dst = M * Src, where M is conversion matrix. Number of channels after conversion will be equal to first dimension of the conversionMatrix. Second dimension of conversionMatrix should be equal to number of channels in the source image.

Currently only RGB is supported as the destination color space.

Syntax:

      ConvertToColorSpaceWithMatrix(
    ByVal pPage As IGPage,
    newColorSpace As enumIGColorSpaces,
    conversionMatrix As IGDoubleMatrix
    );

Parameters:

Name Description
pPage Reference to IGPage object to which the conversion is applied.
newColorSpace Color space to which to convert.
conversionMatrix Conversion matrix.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback