Skip to main content

render_scene_data_uri

Function render_scene_data_uri 

Source
pub fn render_scene_data_uri(
    scene: &RenderScene,
    width: u32,
    height: u32,
) -> Option<String>
Expand description

Same as render_scene_png, returned as a data:image/png;base64,... URI for hosts that prefer inline delivery. Blocking; native-only.