Skip to main content

update_camera_image_dimensions

Function update_camera_image_dimensions 

Source
fn update_camera_image_dimensions(
    app_state: &BraidAppState,
    raw_cam_name: &RawCamName,
    current_image_png: &PngImageData,
)
Expand description

Mirror the camera’s image dimensions into the shared state shown in the browser UI, which uses them to size the camera preview.