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

Affine transformations API #72

Open
kaedroho opened this issue Mar 8, 2019 · 0 comments
Open

Affine transformations API #72

kaedroho opened this issue Mar 8, 2019 · 0 comments

Comments

@kaedroho
Copy link
Contributor

kaedroho commented Mar 8, 2019

This API would allow us to combine many resize, crop, rotation, scaling, etc operations and apply them all in a single pass.

This would be useful for image editors in Wagtail. The operations that were added by the user can be combined with the operations added in the template and applied together. This is good for both performance and quality as the image would only need to be resampled once.

A minimal implementation would only require exposing the affine transformation operations from Pillow/Wand so we can use them from Wagtail. As a bonus, it might be nice to think about whether we should create an AffineMatrix type to help with constructing and combining matrices for the various operations.

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

1 participant