code: def from_chunks(cls, chunks):
  		
  		im = cls()
  		im.chunks = chunks
  		im.init()
  		return im
docs: Construct PNG from raw chunks.
  		
  		:arg chunks: A list of ``(chunk_type, chunk_raw_data)``. Also see
  			:func:`chunks`.
  		:type chunks: list[tuple(str, bytes)]