code: def _open(self):
      # Header
      s = self.fp.read(4)
      if not _accept(s):
          msg = "not a DCX file"
          raise SyntaxError(msg)
  
      # Component directory
      self._offset = []
      for i in range(1024):
          offset = i32(self.fp.read(4))
          if not offset:
              break
          self._offset.append(offset)
  
      self._fp = self.fp
      self.frame = None
      self.n_frames = len(self._offset)
      self.is_animated = self.n_frames > 1
      self.seek(0)
  
file_path: catboost/contrib/python/Pillow/py3/PIL/DcxImagePlugin.py
imports: from .None import Image
  from ._binary import i32le
  from .PcxImagePlugin import PcxImageFile
label_desc: Use image node_id 1 for calling the DcxImageFile obj's underlying member method code with example usage: obj._open() without return types