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

crop: Permit specifying the gravity as a string #255

Merged
merged 1 commit into from
Aug 19, 2015

Conversation

papandreou
Copy link
Contributor

I have a use case where the gravity is taken from a query string and it's cumbersome to use the numeric values or do a lookup in require('sharp').gravity. Seemed like it would be easy (and desirable) to support the strings directly.

Will conflict slightly with #205, but it should be easy to resolve.

Will be looked up in require('sharp').gravity.
lovell added a commit that referenced this pull request Aug 19, 2015
crop: Permit specifying the gravity as a string
@lovell lovell merged commit 692347c into lovell:master Aug 19, 2015
@lovell
Copy link
Owner

lovell commented Aug 19, 2015

Great, thank you Andreas.

@lovell lovell added this to the v0.11.2 milestone Aug 19, 2015
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

Successfully merging this pull request may close these issues.

2 participants