Skip to main content

composite_image

Function composite_image 

Source
pub fn composite_image(
    image_id: String,
    annotations: Vec<Annotation>,
    format: Option<String>,
    store: State<'_, ImageStore>,
) -> Result<String, String>
Expand description

Composite annotations onto an image and return as a base64-encoded image.

format controls the output encoding: "png" (default), "jpeg", or "webp".