PictureEffectsRaw Xojo Plugin

ImageChannelMixerRaw.CombineChannelsRGBA Method (console safe)

Combines channels into RawBitmap with RGB color space and alpha channel.

CombineChannelsRGBA(
   red as RawBitmap,
   green as RawBitmap,
   blue as RawBitmap,
   alpha as RawBitmap) as RawBitmap

Parameters

red
Channel to use as Red channel in the combined image.
green
Channel to use as Green channel in the combined image.
blue
Channel to use as Blue channel in the combined image.
alpha
Channel to use as Alpha channel in the combined image.

Returns

RawBitmap
The combined channels as RawBitmap with RGB color space and alpha channel.

Remarks

Channels may be skipped by passing in nil. But at least one channel must be passed in.

If ErrorCode will get Parameter error if all the channel parameters are nil or if passed in channels did not match in size or depth.

See Also

ImageChannelMixerRaw Class