code: def _get_scipy_resizer():
      try:
          from scipy.misc import imresize
      except ImportError:
          try:
              from scipy import __version__ as __scipy_version__
          except ImportError:
              return (
                  None,
                  ["Scipy not found (install 'scipy' or 'Pillow')"],
              )
  
          scipy_version_info = tuple(
              int(num)
              for num in __scipy_version__.split(".")
              if num.isdigit()
          )
  
          # ``scipy.misc.imresize`` was removed in v1.3.0
          if scipy_version_info >= (1, 3, 0):
              return (
                  None,
                  [
                      "scipy.misc.imresize not found (was removed in scipy v1.3.0,"
                      f" you are using v{__scipy_version__}, install 'Pillow')"
                  ],
              )
  
          # unknown reason
          return (None, "scipy.misc.imresize not found")
  
      def resizer(pic, new_size):
          return imresize(pic, map(int, new_size[::-1]))
  
      return (resizer, [])
  
imports: import numbers
label_desc: Use image node_id 3 for calling a global function with example usage: _get_scipy_resizer() and returns: resizer,  list, imresize, None,  str, None,  list, None,  list