Return |Gif| instance having header properties parsed from GIF image in `stream`.
(cls, stream)
| 13 | |
| 14 | @classmethod |
| 15 | def from_stream(cls, stream): |
| 16 | """Return |Gif| instance having header properties parsed from GIF image in |
| 17 | `stream`.""" |
| 18 | px_width, px_height = cls._dimensions_from_stream(stream) |
| 19 | return cls(px_width, px_height, 72, 72) |
| 20 | |
| 21 | @property |
| 22 | def content_type(self): |
nothing calls this directly
no test coverage detected