itkwasm_image_io.scanco_write_image_async¶

Module Contents¶

Functions¶

scanco_write_image_async

Write an itk-wasm file format converted to an image file format

API¶

async itkwasm_image_io.scanco_write_image_async.scanco_write_image_async(image: itkwasm.Image, serialized_image: str, information_only: bool = False, use_compression: bool = False) Tuple[Any]¶

Write an itk-wasm file format converted to an image file format

Parameters:
  • image (Image) – Input image

  • serialized_image (str) – Output image serialized in the file format.

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

  • use_compression (bool) – Use compression in the written file

Returns:

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

Return type:

Any