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 option to center #47

Closed
ghost opened this issue Jul 16, 2011 · 1 comment
Closed

crop option to center #47

ghost opened this issue Jul 16, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 16, 2011

When using crop the image is cropped starting from the left side of the image,
it would be nice to center the larger side.

For example if you have 150x100 image, want to crop to 100x100
the start position should be 25px using this option, instead 0.

@avalanche123
Copy link
Collaborator

you can use thumbnail method, it will crop a piece of image from the center after resizing constraining proportions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant