channels

expect val channels: Int

The number of color channels in the image (e.g., 3 for RGB, 4 for RGBA, 1 for Grayscale).