Function num_channels_and_data_type
pub fn num_channels_and_data_type(
color_type: ColorType,
) -> (usize, SkYUVAPixmapInfo_DataType)Expand description
If the ColorType is supported for YUVA pixmaps this will return the number of YUVA channels that can be stored in a plane of this color type and what the DataType is of those channels. If the ColorType is not supported as a YUVA plane the number of channels is reported as 0 and the DataType returned should be ignored.