MCPcopy Index your code
hub / github.com/python-pillow/Pillow / setfd

Method setfd

src/PIL/ImageFile.py:780–787  ·  view source on GitHub ↗

Called from ImageFile to set the Python file-like object :param fd: A Python file-like object :returns: None

(self, fd: IO[bytes])

Source from the content-addressed store, hash-verified

778 pass
779
780 def setfd(self, fd: IO[bytes]) -> None:
781 """
782 Called from ImageFile to set the Python file-like object
783
784 :param fd: A Python file-like object
785 :returns: None
786 """
787 self.fd = fd
788
789 def setimage(
790 self,

Callers 2

loadMethod · 0.80
_encode_tileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected