PictureEffects Xojo Plugin |

# ImageChannelMixer.CombineChannels Method

Combines red,green,blue and alpha channels from ImageChannel instances into one image.

CombineChannels(
red as ImageChannel,
green as ImageChannel,
blue as ImageChannel,
alpha as ImageChannel) as Picture

#### Parameters

red
  The red channel
green
  The green channel
blue
  The blue channel
alpha
  The alpha channel

#### Returns

Picture
  The result image or nil if failure.

#### Remarks

red, green and blue can be nil as long as at least one of them is not nil. Nil parameters will be filled by one of the non nil parameters.

#### See Also

ImageChannelMixer Class