getDeviceNToRGBPicture

Convert a DeviceN image to an RGB Picture object.
getDeviceNToRGBPicture([out, retval] IUnknown **pic)
This function converts the DeviceN bitmap generated by the last call to convertPageToDeviceNImage to RGB.

The image will be returned as a 24-bit RGB Picture object (OLE IPicture interface).

By default, this function will return the same thing as convertPageToPicture2 in imageDevNToRGB mode. The difference is that individual color channels can be removed with removeDeviceNChannel.

VB6:
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
convertPageToDeviceNImage
removeDeviceNChannel
clearDeviceNImage