Function re_data_ui::image::image_preview_ui
source · pub fn image_preview_ui(
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout,
query: &LatestAtQuery,
entity_path: &EntityPath,
image: &ImageInfo,
colormap_with_range: Option<&ColormapWithRange>
) -> Option<()>
Expand description
Show the given image with an appropriate size.
For segmentation images, the annotation context is looked up.