-
neuroglancer.UnsynchronizedViewer.screenshot(
size=None
, include_depth=False
, statistics_callback=None
) Captures a screenshot synchronously.
- Parameters:¶
- size=
None
¶ Optional. List of [width, height] specifying the dimension in pixels of the canvas to use. If specified, UI controls are hidden and the canvas is resized to the specified dimensions while the screenshot is captured.
- include_depth=
False
¶ Optional. Specifies whether to also return depth information.
- size=
- Returns:¶
The screenshot.