docstr: internal: finished reading image data
docstr_tok: ["internal",":","finished","reading","image","data"]
code: def load_end(self):
      """internal: finished reading image data"""
      while True:
          self.fp.read(4)  # CRC
  
          try:
              cid, pos, length = self.png.read()
          except (struct.error, SyntaxError):
              break
  
          if cid == b"IEND":
              break
  
          try:
              self.png.call(cid, pos, length)
          except UnicodeDecodeError:
              break
          except EOFError:
              ImageFile._safe_read(self.fp, length)
          except AttributeError:
              logger.debug("%r %s %s (unknown)", cid, pos, length)
              ImageFile._safe_read(self.fp, length)
      self._text = self.png.im_text
      self.png.close()
      self.png = None
  
imports: import logging
  import re
  import struct
  import zlib
  from .None import Image, ImageFile, ImagePalette
  from ._binary import i8, i16be, i32be, o16be, o32be
  from ._util import py3
label_desc: Use image node_id 6 for calling the PngImageFile obj's underlying member method code with example usage: obj.load_end() without return types