itkwasm_mesh_io.write_mesh_async¶

Module Contents¶

Functions¶

write_mesh_async

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

meshwrite_async

API¶

async itkwasm_mesh_io.write_mesh_async.write_mesh_async(mesh: itkwasm.Mesh, serialized_mesh: str, information_only: bool = False, use_compression: bool = False) None¶

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

Parameters:
  • mesh (Mesh) – Input mesh

  • serialized_mesh (str) – Output mesh serialized in the file format.

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

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

async itkwasm_mesh_io.write_mesh_async.meshwrite_async(mesh: itkwasm.Mesh, serialized_mesh: os.PathLike, information_only: bool = False, use_compression: bool = False) None¶