code: def get_cp_bitmap(size=None):
      """The CellProfiler icon as a wx.Bitmap"""
      import wx
  
      img = get_cp_image()
      if size is not None:
          img.Rescale(size, size, wx.IMAGE_QUALITY_HIGH)
      return wx.Bitmap(img)
  
imports: import os
  import sys
  import pkg_resources
  import cellprofiler.icons
label_desc: Use image node_id 2 for calling a global function with example usage: get_cp_bitmap(size) and returns: wx