VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ColorManagement Namespace / ChannelsOrderConverterTransform Class / TransformTo8bitVector(Double[],Int32,Int32,Byte[],Int32) Method
Syntax Requirements SeeAlso
In This Topic
    TransformTo8bitVector(Double[],Int32,Int32,Byte[],Int32) Method (ChannelsOrderConverterTransform)
    In This Topic
    Performs color vector transform to 8-bit values.
    Syntax
    'Declaration
    
    Public Overrides Sub TransformTo8bitVector( _
    ByVal sourceColorChannels
    Array that contains color channels real values, in range from 0 to 1, to transform.
    () As Double, _
    ByVal sourceIndex
    A 32-bit integer that represents the index in the sourceColorChannels at which reading begins.
    As System.Int32, _
    ByVal sourceColorCount
    Number of colors to transform.
    As System.Int32, _
    ByVal destColorChannels
    Array that contains transformed color channels 8-bit integer values, in range from 0 to 255. Each color channel 8-bit value is encoded by 1 byte.
    () As Byte, _
    ByVal destIndex
    A 32-bit integer that represents the index in the destColorChannels at which writing begins.
    As System.Int32 _
    )
    public override void TransformTo8bitVector(
    double[] sourceColorChannels,
    System.Int32 sourceIndex,
    System.Int32 sourceColorCount,
    byte[] destColorChannels,
    System.Int32 destIndex
    )
    public: void TransformTo8bitVector(
    double[]* sourceColorChannels,
    System.Int32 sourceIndex,
    System.Int32 sourceColorCount,
    byte[]* destColorChannels,
    System.Int32 destIndex
    ); override
    public:
    void TransformTo8bitVector(
    array<double>^ sourceColorChannels,
    System.Int32 sourceIndex,
    System.Int32 sourceColorCount,
    array<byte>^ destColorChannels,
    System.Int32 destIndex
    ); override

    Parameters

    sourceColorChannels
    Array that contains color channels real values, in range from 0 to 1, to transform.
    sourceIndex
    A 32-bit integer that represents the index in the sourceColorChannels at which reading begins.
    sourceColorCount
    Number of colors to transform.
    destColorChannels
    Array that contains transformed color channels 8-bit integer values, in range from 0 to 255. Each color channel 8-bit value is encoded by 1 byte.
    destIndex
    A 32-bit integer that represents the index in the destColorChannels at which writing begins.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also