channels property
Channels
channels
getter/setter pair
The channels used by this image, indicating whether the alpha channel is used or not. All images have an implicit alpha channel due to the image data being stored in a Uint32, but some images, such as those decoded from a Jpeg, don't use the alpha channel. This allows image encoders that support both rgb and rgba formats, to know which one it should use.
Implementation
Channels channels;