How does Pillow implement Transform.QUAD and Transform.MESH #8449
Answered
by
Yay295
kyrollosyanny
asked this question in
Q&A
|
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 |
Answered by
Yay295
Oct 7, 2024
Replies: 1 comment 1 reply
|
Line 3630 in 7097a9a Lines 2010 to 2072 in 7097a9a |
1 reply
Answer selected by
kyrollosyanny
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
transform2is written in C, and was renamed totransforma few months ago.Pillow/src/_imaging.c
Line 3630 in 7097a9a
Pillow/src/_imaging.c
Lines 2010 to 2072 in 7097a9a