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

Allow alpha_composite destination to be negative #5313

merged 3 commits into from Mar 8, 2021


Copy link

@radarhere radarhere commented Mar 6, 2021

Resolves #5298

The issue argues that since you are able to paste() to negative co-ordinates -

offset.paste(over, (-64, -64))

you should also be able to alpha_composite() to negative co-ordinates -

offset.alpha_composite(over, (-64, -64))

The argument seems reasonable to me.

hugovk approved these changes Mar 7, 2021
Copy link

@hugovk hugovk left a comment

Let's also add to release notes

@radarhere radarhere force-pushed the alpha_composite branch from 2cf234b to 0fb24fc Mar 8, 2021
@radarhere radarhere force-pushed the alpha_composite branch from 0fb24fc to 45c43fc Mar 8, 2021
@mergify mergify bot merged commit e110e09 into python-pillow:master Mar 8, 2021
49 of 50 checks passed
@radarhere radarhere deleted the alpha_composite branch Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants