Skip to content

ImageChannels

Returns the number of channels in an image.

$ wo 'ImageChannels[ConstantImage[0.5, {5, 5}]]'
1