code: def __init__(self, fp):
      ChunkStream.__init__(self, fp)
  
      # local copies of Image attributes
      self.im_info = {}
      self.im_text = {}
      self.im_size = (0, 0)
      self.im_mode = None
      self.im_tile = None
      self.im_palette = None
      self.im_custom_mimetype = None
  
      self.text_memory = 0
  
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 1 to create a new PngStream object from inherited base classes: ChunkStream with example: obj = PngStream(fp)