Skip to main content

libCZI_CompositorDoMultiChannelComposition

Function libCZI_CompositorDoMultiChannelComposition 

Source
pub unsafe extern "C" fn libCZI_CompositorDoMultiChannelComposition(
    channelCount: c_int,
    source_bitmaps: *const BitmapObjectHandle,
    channel_info: *const CompositionChannelInfoInterop,
    bitmap_object: *mut BitmapObjectHandle,
) -> LibCZIApiErrorCode
Expand description

Perform a multi-channel-composition operation. The source bitmaps are provided in the ‘source_bitmaps’ array, and the array of ‘CompositionChannelInfoInterop’ structures provide the information needed for the composition. The resulting bitmap is then put into the ‘bitmap_object’ handle.

\param channelCount The number of channels - this defines the size of the ‘source_bitmaps’ and ‘channel_info’ arrays. \param source_bitmaps The array of source bitmaps. \param channel_info The array of channel information. \param [out] bitmap_object The resulting bitmap is put here.

\return An error-code indicating success or failure of the operation.