How does Pillow implement Transform.QUAD and Transform.MESH #8449
-
Hello, I am trying to understand how Pillow implements the if method == MESH:
# list of quads
for box, quad in data:
im.__transformer(box, self, QUAD, quad, resample, fill)
else:
im.__transformer((0, 0)+size, self, method, data, resample, fill) So for each entry in the list of quads, it calls the Any documentation or pointers to source good will be very helpful. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Line 3630 in 7097a9a Lines 2010 to 2072 in 7097a9a |
Beta Was this translation helpful? Give feedback.
transform2
is written in C, and was renamed totransform
a few months ago.Pillow/src/_imaging.c
Line 3630 in 7097a9a
Pillow/src/_imaging.c
Lines 2010 to 2072 in 7097a9a