Description

Gets or Sets the Channels property in the image file. Usually 1 (Monochrome) or 3 (RGB,HSI, etc).

Property type

A Long value.  

Syntax

object.Channels [= value]

The Channels Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McStream.
valueA Long value.

Remarks

returns a LONG

If the File is an RGB image, and the client specifies 1 Channel before a call to Read, the image data is converted to Monochrome. The McStream library will only convert between 1 channel and 3 channel data, and vice versa.