Remove a DeviceN color channel.
removeDeviceNChannel([in] int channelIdx)
This function removes (sets to zero) one color channel of the DeviceN image generated by the last call to convertPageToDeviceNImage.

This is useful to remove one or more channels before calling getDeviceNToRGBPicture.

rast.convertPageToDeviceNImage page, dpi nChannels = rast.getNumDeviceNChannels For i = 0 To nChannels-1 channelName = rast.getDeviceNChannelName(i) If .... Then rast.removeDeviceNChannel(i) End If Next i pic = rast.getDeviceNToRGBPicture() ... rast.clearDeviceNImage