Skip to content

Conversation

@radarhere
Copy link
Member

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.

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also add to release notes

@hugovk hugovk added the automerge Automatically merge PRs that are ready label Mar 8, 2021
@mergify mergify bot merged commit e110e09 into python-pillow:master Mar 8, 2021
@radarhere radarhere deleted the alpha_composite branch March 8, 2021 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge PRs that are ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

alpha_composite should be like paste and allow negative destinations

2 participants