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

Simple crop to width/height option in image resizer #26931

Closed
allusernamestakenexceptthis opened this issue Jun 18, 2023 · 3 comments
Closed
Labels
Idea-Enhancement New feature or request on an existing product Product-Image Resizer Things regarding image resizing module

Comments

@allusernamestakenexceptthis

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

@allusernamestakenexceptthis allusernamestakenexceptthis added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jun 18, 2023
@davidegiacometti davidegiacometti added Idea-Enhancement New feature or request on an existing product Product-Image Resizer Things regarding image resizing module labels Jun 20, 2023
@allusernamestakenexceptthis
Copy link
Author

Screenshot 2023-06-22 17 48 08 PowerToys ImageResizer 0QQ

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.
I'm thinking either abort operation. or allow this behavior and rename it to Free instead of crop.

Width or height can be left empty and it will use original dimension.

@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jan 18, 2024

This should be the FILL setting. Please confirm? /needinfo

Width or height can be left empty and it will use original dimension.

Note: default behavior for empty boxes = scale

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 18, 2024
@allusernamestakenexceptthis
Copy link
Author

This should be the FILL setting. Please confirm? /needinfo

Width or height can be left empty and it will use original dimension.

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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed labels Jan 24, 2024
@Jay-o-Way Jay-o-Way removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Jan 24, 2024
@Jay-o-Way Jay-o-Way closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Image Resizer Things regarding image resizing module
Projects
None yet
Development

No branches or pull requests

3 participants