pub fn supports(format: PixelFormat) -> bool
Whether to_rgb8 converts format — the formats a viewer can draw.
to_rgb8
format