code: def save_numpy_2_image_jpg_png(
      input_numpy, output_filepath, **kwargs
  ):
      if _lycon_available:
          lycon.save(output_filepath, input_numpy)
      else:
          # Necessary conditional?
          if input_numpy.ndim == 3 and input_numpy.shape[-1] == 1:
              input_numpy = np.squeeze(input_numpy)
          imwrite(os.path.abspath(output_filepath), input_numpy)
  
      return output_filepath
  
imports: import os
  import numpy
  import nibabel
  import nrrd
  import pydicom
  import subprocess
  from collections import defaultdict
  from imageio import imwrite, imread
  from deepneuro.utilities.util import grab_files_recursive, quotes
label_desc: Use image node_id 15 for calling a global function with example usage: save_numpy_2_image_jpg_png(input_numpy, output_filepath) and returns: output_filepath