ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearColorSpace Structure / GetExtraChannelCount Method / GetExtraChannelCount(Int32) Method
Total quantity of channels in the image.




In This Topic
GetExtraChannelCount(Int32) Method
In This Topic
Calculates quantity of extra channels in color space with given total channels quantity.
Syntax
'Declaration
 
Public Overloads Function GetExtraChannelCount( _
   ByVal totalChannelCount As Integer _
) As Integer
 
'Usage
 
Dim instance As ImGearColorSpace
Dim totalChannelCount As Integer
Dim value As Integer
 
value = instance.GetExtraChannelCount(totalChannelCount)

Parameters

totalChannelCount
Total quantity of channels in the image.

Return Value

Quantity of extra channels or zero in case if color-space value doesn't contain ImGearColorSpaceIDs.Ex bit.
See Also