livecellx.core.io_utils.save_png

livecellx.core.io_utils.save_png(img, path, mode='L')[source]

save image to png file

Parameters:
  • path (str) – path to save the image

  • img (np.ndarray) – image to save