-
Notifications
You must be signed in to change notification settings - Fork 379
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
Resize and crop with cropping options #72
Comments
i don't think its possible yet ..i assume you want to handle the choosing of the crop area via a GET parameter? |
You can achieve this by chaining the crop filter and the resize filter according to your specs. Please send a PR, if you got something to share on this! |
I suppose it has to be covered by #72 |
? |
Ive reread the issue, It seems I misunderstood it. sorry for bothering. |
This is an issue from 2012, I thus assume it is no longer relevant. If it is, please open a new issue with details and we will look into that. Thanks a lot :) |
I've the following requirement in our app for image resizing and cropping:
So for example, when the maximum dimension is a rectangle with 250x250 (height/width) and the input image is
300x600, resize it to 250x498, and make it optional where to crop the resized image:
Is this possible with the current available filters?
If not, i'd be happy to send you a PR with this feature.
The text was updated successfully, but these errors were encountered: