-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Simple crop to width/height option in image resizer #26931
Comments
I attempted to implement it to see if I could do it. this is how it looks. Currently though if width or height of the image below the crop set values, it will make the output image stretched. Width or height can be left empty and it will use original dimension. |
This should be the FILL setting. Please confirm? /needinfo
Note: default behavior for empty boxes = scale |
Sorry just noticed your reply. Yes fill seems to do what I wanted. I didn't notice when this feature added. Thanks |
Description of the new feature / enhancement
An option beside fit/stretch, crop. when selected it will crop to the stated width/height
if one dimension given, then it will use the current image dimension for the other.
This is not same as issue #2617 . this one is very simple and doesn't offer bounding box.
I'd also like to work on this feature if allowed.
Scenario when this would be used?
mass cropper, for example to remove black borders from images with same dimensions.
Supporting information
No response
The text was updated successfully, but these errors were encountered: