PictureEffectsRaw Xojo Plugin

ImageChannelMixerRaw.CombineChannelsGrayAlpha Method (console safe)

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

CombineChannelsGrayAlpha(
   gray as RawBitmap,
   alpha as RawBitmap) as RawBitmap

Parameters

gray
Channel to use as Gray channel in the combined image.
alpha
Channel to use as Alpha channel in the combined image.

Returns

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

Remarks

Channel 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