code: def resize(frame, size_string=None):
      width, height = size_string.lower().split("x")
      return skimage.util.img_as_ubyte(
          skimage.transform.resize(
              frame, (int(height), int(width)), order=0
          )
      )
  
file_path: SerpentAI/serpent/frame_transformer.py
imports: import skimage.transform
  import skimage.color
  import skimage.util
  from PIL import Image
  import io
label_desc: Use image node_id 2 for calling the FrameTransformer obj's underlying member method code with example usage: obj.resize(frame, size_string) and returns: skimage