-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawn circle has torn edges #4895
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just to be clear, the gray pixels around the outside of the ellipse are JPEG compression artefacts. Saving as PNG produces a slightly better image, but the circle is still not smooth. |
Here is version of this image created by #4523 |
This one looks much nicer! Are there any plans when it will be released? |
Is there an easy way to build the .whl locally with the version from the PR? I tried reproducing |
Is this what you're after? Pillow-7.2.0.dev0-cp36-cp36m-macosx_10_10_x86_64.whl.zip |
Sorry for not being specific. I'm running Pillow inside AWS Lambda so I need a linux x86_64 whl. Can I ask where did you get it from? |
Ah. I presumed you were in the same environment as your original post. For the releases, Pillow has the pillow-wheels repository, which runs on https://travis-ci.org/. I can create a commit in my fork of pillow-wheels, that
And the URL for the wheel is printed - https://travis-ci.org/github/radarhere/pillow-wheels/builds/724418755#L5539 |
Works perfectly, thank you very much for the explanation! Is there any way I could help with the #4523 issue so it could be merged? |
#4523 has been merged and will be in next week's release. |
Can we reopen this? It would really need an antialiasing method. Super sampling is expensive |
@DeusAres could you create a new issue with more detail? |
What did you do?
Tried to draw a circle.
What did you expect to happen?
Be able to draw a nice, smooth circle using
draw.ellipse()
.What actually happened?
The circle is torn and the edges are bad quality. Did I do something wrong?
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: