C#
Objective-C
C++
public static int MaximumComponentsNumber { get; }
@property (class, nonatomic, assign, readonly) NSInteger maximumNumberOfComponents;
public:
static property int MaximumComponentsNumber {
int get();
}
Maximum number of components. It is 3 for a color image, 1 for a grayscale image.