defaultColorType

Determines the default color type based on the given color format.

Return

The corresponding default color type. Returns ColorType.UINT8_SRGB for ColorFormat.RGB and ColorFormat.RGBa. For other formats, returns ColorType.UINT8.

Parameters

format

The color format for which the default color type is being determined.