itkwasm_image_io.ge_adw_write_image¶

Module Contents¶

Functions¶

ge_adw_write_image

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

API¶

itkwasm_image_io.ge_adw_write_image.ge_adw_write_image(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