code: def from_stream(cls, stream):
          
          px_width, px_height = cls._dimensions_from_stream(stream)
          return cls(px_width, px_height, 72, 72)
docs: Return |Gif| instance having header properties parsed from GIF image
          in *stream*.