Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python-pillow/Pillow
/ read
Function
read
src/PIL/PsdImagePlugin.py:198–199 ·
view source on GitHub ↗
(size: int)
Source
from the content-addressed store, hash-verified
196
layers = []
197
198
def
read(size: int) -> bytes:
199
return
ImageFile._safe_read(fp, size)
200
201
ct = si16(read(2))
202
Callers
5
_bitmap
Method · 0.85
load
Method · 0.85
_open
Method · 0.85
_layerinfo
Function · 0.85
_maketile
Function · 0.85
Calls
1
_safe_read
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…