livecellx.core.io_utils.save_general

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

save image to img file

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

  • img (np.ndarray) – image to save