code: def COM(self, marker):
      #
      # Comment marker.  Store these in the APP dictionary.
      n = i16(self.fp.read(2)) - 2
      s = ImageFile._safe_read(self.fp, n)
  
      self.info["comment"] = s
      self.app["COM"] = s  # compatibility
      self.applist.append(("COM", s))
  
imports: import array
  import io
  import math
  import os
  import struct
  import subprocess
  import sys
  import tempfile
  import warnings
  from .None import Image, ImageFile, TiffImagePlugin
  from ._binary import i16be
  from ._binary import i32be
  from ._binary import o8
  from .JpegPresets import presets
label_desc: Use image node_id 3 for calling a global function with example usage: COM(marker) without return types