code: def resize_rgb_to(im, nsize, order=3):
      """Resize an RGB image to size ``nsize``
  
      Parameters
      ----------
      im : ndarray
      nsize : sequence of 2 numbers
          if nsize is ``(h,w)``, the new image will be ``(h,w,3)``
      order : integer, optional
          Spline order to use (default: 3)
  
      Returns
      -------
      im' : ndarray
  
      See Also
      --------
      zoom : Similar function
      imresize : A more flexible, but also confusing, version of this function
      resize_to : A generic version of this function
      """
      from .internal import _check_3
  
      _check_3(im, "resize_rgb_to")
      return np.dstack(
          [
              resize_to(ch, nsize, order)
              for ch in im.transpose((2, 0, 1))
          ]
      )
  
imports: from __future__ import division
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: resize_rgb_to(im, nsize, order) and returns: np