Sets the depth of a particular image channel.