Image.NumChannels
 
 
 

Image.NumChannels

Introduced

v4.0

Description

Returns the number of channels per pixel as a Long. For example, 1 would signify Mono, 3 RGB and 4 RGBA.

C# Syntax

// get accessor
Int32 rtn = Image.NumChannels;