'Return a |_Chunks| instance containing the PNG chunks in *stream*.'

@classmethod
def from_stream(cls, stream):

    chunk_parser = _ChunkParser.from_stream(stream)
    chunks = [chunk for chunk in chunk_parser.iter_chunks()]
    return cls(chunks)
