@classmethod
def from_chunks(cls, chunks):
    """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)]
		"""
    o = cls()
    o.chunks = chunks
    o.init()
    return o
