livecellx.core.io_utils.save_png

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

save image to png file

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

  • img (np.array) – image to save