code: def get_cp_icon(size=None):
      """The CellProfiler icon as a wx.Icon"""
      import wx
  
      if sys.platform.startswith("win"):
          path = pkg_resources.resource_filename(
              "cellprofiler",
              os.path.join("data", "icons", "CellProfiler.ico"),
          )
          icon = wx.Icon()
          icon.LoadFile(path, wx.BITMAP_TYPE_ICO)
          return icon
      icon = wx.Icon()
      icon.CopyFromBitmap(get_cp_bitmap(size))
      return icon
  
imports: import os
  import sys
  import pkg_resources
  import cellprofiler.icons
label_desc: Use image node_id 3 for calling a global function with example usage: get_cp_icon(size) and returns: icon, icon