You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm currently trying to migrate py2 to py3, from Pillow 6.2.1 to 9.3.0
I'm noticing some strange behaviors in the draw polygon functions, where my inputs are the same, but the outputs are slightly different.
Heres a test case below, to run on py2.7 remove the width arg.
Testing, I find that the difference is because of #5980. This resolved #4347, where there was a request that the following polygon not be discontiguous.
So, if your question is just a general one about why the latest version of Pillow might draw a polygon differently to an earlier version of Pillow, that is why. The change was introduced in Pillow 9.1.0, so if you would like to upgrade to Python 3 without including this change in Pillow, you can use Pillow 9.0.0 instead.
Hi,
I'm currently trying to migrate py2 to py3, from Pillow 6.2.1 to 9.3.0
I'm noticing some strange behaviors in the draw polygon functions, where my inputs are the same, but the outputs are slightly different.
Heres a test case below, to run on py2.7 remove the width arg.
Pillow 6.2.1 output >> 0
Pillow 9.3.0 output >> 100
I would like to know if theres a workaround for this? or why is this happening?
The text was updated successfully, but these errors were encountered: