itkwasm_image_io.wasm_read_image_async¶

Module Contents¶

Functions¶

wasm_read_image_async

Read an image file format and convert it to the itk-wasm file format

API¶

async itkwasm_image_io.wasm_read_image_async.wasm_read_image_async(serialized_image: os.PathLike, information_only: bool = False) Tuple[Any, itkwasm.Image]¶

Read an image file format and convert it to the itk-wasm file format

Parameters:
  • serialized_image (os.PathLike) – Input image serialized in the file format

  • information_only (bool) – Only read image metadata – do not read pixel data.

Returns:

Whether the input could be read. If false, the output image is not valid.

Return type:

Any

Returns:

Output image

Return type:

Image