Obsolete. Prefer <ImageFormatConverter> data interfaces such as ImageFormatConverter::InterleaveBytes, ImageFormatConverter::InterleaveHalfs, or ImageFormatConverter::InterleaveFloats.
int32 InterleaveChannels( Image p_oDestImage, int32 p_nChannelCount, Int32Array p_aiChannels, List p_oImages )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Image> | p_oDestImage | A pointer to the destination <Image> object that will store the interleaved bits. |
int32 | p_nChannelCount | The total number of channels you are compositing into a final <Image>, which must be equal to the number of <Image> objects submitted to this function. |
<Int32Array> | p_aiChannels | An <Int32Array>, the count of which must be equal to the number of <Image> objects submitted to this function, containing the channel indices to extract from each <Image>. For example, if you have four 8888RGBA <Image> objects, this <Int32Array> must have four elements, and each element must store a value from 0-3. |
<List> | p_oImages | A <List> object that contains the <Image> objects from which to extract channels to produce the destination <Image> object. |
None published. Please look for an example in the Simdify Scripting Language code base.