itkwasm_image_io.png_read_image
¶
Module Contents¶
Functions¶
Read an image file format and convert it to the itk-wasm file format |
API¶
- itkwasm_image_io.png_read_image.png_read_image(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