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: the docs imply that gravity is optional while it actually isn't #350

Closed
joelmukuthu opened this issue Feb 4, 2016 · 0 comments
Closed

Comments

@joelmukuthu
Copy link

var sharp = require('sharp');
sharp().crop(); // throws "Error: Unsupported crop gravity undefined"

According to the current docs, the above should work but it throws this error Error: Unsupported crop gravity undefined.

joelmukuthu pushed a commit to joelmukuthu/sharp that referenced this issue Feb 4, 2016
webgurucan pushed a commit to webgurucan/node-image-handler that referenced this issue Mar 27, 2022
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