Image.channels

Returns how many channels the image has. This is calculated by (bpp) / (1 channel bits). 1 channel bits is estimated by image type.

class Image
uint
channels
()

Return Value

Type: uint

the channels of the image

Meta