AtalaImage.CombineChannels Method |
Combines the channels.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic static AtalaImage CombineChannels(
PixelFormat desiredPixelFormat,
params AtalaImage[] channels
)
Public Shared Function CombineChannels (
desiredPixelFormat As PixelFormat,
ParamArray channels As AtalaImage()
) As AtalaImage
Parameters
- desiredPixelFormat
- Type: Atalasoft.Imaging.PixelFormat
The desired pixel format. - channels
- Type:Atalasoft.Imaging.AtalaImage[]
The channels.
Return Value
Type:
AtalaImage
ExceptionsException | Condition |
---|
ArgumentException |
Must contain between 2 and 4 images;channels
or
All channel images must be of equal size;channels
or
All channel images must be grayscale;channels
or
PixelFormat does not match number of channels;desiredPixelFormat
or
PixelFormat does not match number of channels;desiredPixelFormat
|
See Also