ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / CombineChannels Method
Color space of the resulting multichannel page.
Array of channels reference to combine to multichannel page.




In This Topic
    CombineChannels Method
    In This Topic
    Combines image channels according to the specified color space.
    Syntax
    'Declaration
     
    Public Shared Function CombineChannels( _
       ByVal space As ImGearColorSpace, _
       ByVal channels() As ImGearChannelRef _
    ) As ImGearRasterPage
    'Usage
     
    Dim space As ImGearColorSpace
    Dim channels() As ImGearChannelRef
    Dim value As ImGearRasterPage
     
    value = ImGearRasterProcessing.CombineChannels(space, channels)
    public static ImGearRasterPage CombineChannels( 
       ImGearColorSpace space,
       ImGearChannelRef[] channels
    )
    public: static ImGearRasterPage* CombineChannels( 
       ImGearColorSpace space,
       ImGearChannelRef[]* channels
    ) 
    public:
    static ImGearRasterPage^ CombineChannels( 
       ImGearColorSpace space,
       array<ImGearChannelRef>^ channels
    ) 

    Parameters

    space
    Color space of the resulting multichannel page.
    channels
    Array of channels reference to combine to multichannel page.

    Return Value

    Remarks
    This method puts together image channels according to the destination color space specified by the space parameter. This method does not do any color space or pixel conversions, it merely merges pixel data from different channels together. The number of channel pages should be compatible with the destination color space. Each Page in ChannelPages array must have exactly one channel. All pages must have the same BitsPerChannel and dimensions.
    Example
    See Also