Return a |_Chunks| instance containing the PNG chunks in `stream`.
(cls, stream)
| 98 | |
| 99 | @classmethod |
| 100 | def from_stream(cls, stream): |
| 101 | """Return a |_Chunks| instance containing the PNG chunks in `stream`.""" |
| 102 | chunk_parser = _ChunkParser.from_stream(stream) |
| 103 | chunks = list(chunk_parser.iter_chunks()) |
| 104 | return cls(chunks) |
| 105 | |
| 106 | @property |
| 107 | def IHDR(self): |
nothing calls this directly
no test coverage detected