Pixbuf.nChannels

Get nChannels property.

class Pixbuf
@property
int
nChannels
()

Return Value

Type: int

The number of samples per pixel.

Currently, only 3 or 4 samples per pixel are supported.