PictureEffects Xojo and Real Studio Plugin

ImageChannelMixer.CombineChannels Method

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

CombineChannels(
   red as Picture,
   green as Picture,
   blue as Picture,
   alpha as Picture) 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