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

Method op

Tests/test_image_transform.py:170–171  ·  view source on GitHub ↗
(im: Image.Image, sz: tuple[int, int])

Source from the content-addressed store, hash-verified

168
169 def test_alpha_premult_resize(self) -> None:
170 def op(im: Image.Image, sz: tuple[int, int]) -> Image.Image:
171 return im.resize(sz, Image.Resampling.BILINEAR)
172
173 self._test_alpha_premult(op)
174

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
transformMethod · 0.45

Tested by

no test coverage detected