code: def _image_conversion(image):
      result = {
          "width": image.width,
          "height": image.height,
          "column": "image",
          "format": "png",
      }
  
      result["data"] = _base64.b64encode(
          _image_resize(image)._image_data
      )
      return result
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...visualization import _get_client_app_path
  import turicreate
  import subprocess
  import six
  from six.moves import _thread
  import json
  import base64
  import math
label_desc: Use image node_id 9 for calling a global function with example usage: _image_conversion(image) and returns: result