pub fn render_png(spec: &ChartSpec, opts: KittyOpts) -> Option<Vec<u8>>Expand description
Render spec to an RGBA PNG byte vector: opaque over opts.background, or
transparent when there is none. Returns None on any drawing or encoding
failure; callers decide whether to substitute a text fallback.