Skip to content
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

annotate_PIL() does not work #5

Closed
think2011 opened this issue Nov 16, 2023 · 2 comments
Closed

annotate_PIL() does not work #5

think2011 opened this issue Nov 16, 2023 · 2 comments

Comments

@think2011
Copy link

image
 in rectangle
    self.draw.draw_rectangle(xy, ink, 0, width)
ValueError: y1 must be greater than or equal to y0
@many-hats
Copy link
Contributor

many-hats commented Nov 22, 2023

Ran into this error and wrote a PR. As of Pillow 9.5.0, it must be that y1>=y0 and x1>=x0. You can edit out the lines yourself until it's merged.

@straussmaximilian
Copy link
Owner

Looks to me like the PR fixed the bug, so close this now.
Will push to PyPi shortly - v0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants