WMA link
ImageChannels
ImageChannels[Image[{{0, 1}, {1, 0}}]]
img = Import["ExampleData/hedy.tif"];
ImageChannels[img]